From 01e571533c7960e534de1ac66f981b9fcbe73725 Mon Sep 17 00:00:00 2001 From: Louis <6653109+artonge@users.noreply.github.com> Date: Mon, 5 Oct 2020 17:30:18 +0200 Subject: [PATCH] Do not delete extra files in config directory --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 3fd70299..2a2d03a7 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -96,7 +96,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP rsync_options="-rlD" fi rsync $rsync_options --delete --exclude-from=/upgrade.exclude /usr/src/nextcloud/ /var/www/html/ - rsync $rsync_options --delete --exclude config.php /usr/src/nextcloud/config/ /var/www/html/config/ + rsync $rsync_options /usr/src/nextcloud/config/ /var/www/html/config/ for dir in config data custom_apps themes; do if [ ! -d "/var/www/html/$dir" ] || directory_empty "/var/www/html/$dir"; then