diff options
Diffstat (limited to '10.0')
-rwxr-xr-x | 10.0/apache/docker-entrypoint.sh | 4 | ||||
-rwxr-xr-x | 10.0/fpm/docker-entrypoint.sh | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/10.0/apache/docker-entrypoint.sh b/10.0/apache/docker-entrypoint.sh index 1ffa8409..31d3e6ce 100755 --- a/10.0/apache/docker-entrypoint.sh +++ b/10.0/apache/docker-entrypoint.sh @@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then fi done + if [ ! -f /var/www/html/config/apps.config.php ]; then + cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php + fi + if [ "$installed_version" != "0.0.0~unknown" ]; then su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable' diff --git a/10.0/fpm/docker-entrypoint.sh b/10.0/fpm/docker-entrypoint.sh index 1ffa8409..31d3e6ce 100755 --- a/10.0/fpm/docker-entrypoint.sh +++ b/10.0/fpm/docker-entrypoint.sh @@ -35,6 +35,10 @@ if version_greater "$image_version" "$installed_version"; then fi done + if [ ! -f /var/www/html/config/apps.config.php ]; then + cp -a /usr/src/nextcloud/config/apps.config.php /var/www/html/config/apps.config.php + fi + if [ "$installed_version" != "0.0.0~unknown" ]; then su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable' |