mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-16 08:14:46 +02:00
Do not delete extra files in config directory
This commit is contained in:
parent
73240f70a6
commit
01e571533c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue