mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-16 16:14:47 +02:00
Update docker-entrypoint.sh
Config files do not seems to get updated during a nextcloud upgrade. This command should correctly update them.
This commit is contained in:
parent
1bec843644
commit
73240f70a6
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +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/
|
||||
|
||||
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