0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 19:05:09 +01:00

Run update.sh

Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
Tilo Spannagel 2018-08-27 18:52:37 +02:00
parent 0dde3525ee
commit 68cc97feed
No known key found for this signature in database
GPG key ID: E517E9F206B8993D
20 changed files with 110 additions and 0 deletions

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -6,6 +6,7 @@ RUN set -ex; \
\ \
apk add --no-cache \ apk add --no-cache \
rsync \ rsync \
shadow \
; \ ; \
\ \
rm /var/spool/cron/crontabs/root; \ rm /var/spool/cron/crontabs/root; \

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -6,6 +6,7 @@ RUN set -ex; \
\ \
apk add --no-cache \ apk add --no-cache \
rsync \ rsync \
shadow \
; \ ; \
\ \
rm /var/spool/cron/crontabs/root; \ rm /var/spool/cron/crontabs/root; \

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -6,6 +6,7 @@ RUN set -ex; \
\ \
apk add --no-cache \ apk add --no-cache \
rsync \ rsync \
shadow \
; \ ; \
\ \
rm /var/spool/cron/crontabs/root; \ rm /var/spool/cron/crontabs/root; \

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -6,6 +6,7 @@ RUN set -ex; \
\ \
apk add --no-cache \ apk add --no-cache \
rsync \ rsync \
shadow \
; \ ; \
\ \
rm /var/spool/cron/crontabs/root; \ rm /var/spool/cron/crontabs/root; \

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -6,6 +6,7 @@ RUN set -ex; \
\ \
apk add --no-cache \ apk add --no-cache \
rsync \ rsync \
shadow \
; \ ; \
\ \
rm /var/spool/cron/crontabs/root; \ rm /var/spool/cron/crontabs/root; \

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016

View file

@ -19,6 +19,13 @@ run_as() {
fi fi
} }
if [ -n "${NEXTCLOUD_UID+x}" ]; then
usermod -u "$NEXTCLOUD_UID" www-data
fi
if [ -n "${NEXTCLOUD_GID+x}" ]; then
groupmod -g "$NEXTCLOUD_GID" www-data
fi
installed_version="0.0.0.0" installed_version="0.0.0.0"
if [ -f /var/www/html/version.php ]; then if [ -f /var/www/html/version.php ]; then
# shellcheck disable=SC2016 # shellcheck disable=SC2016