diff options
Diffstat (limited to '12.0/fpm/docker-entrypoint.sh')
-rwxr-xr-x | 12.0/fpm/docker-entrypoint.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/12.0/fpm/docker-entrypoint.sh b/12.0/fpm/docker-entrypoint.sh index 1ffa8409..31d3e6ce 100755 --- a/12.0/fpm/docker-entrypoint.sh +++ b/12.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' |