1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Merge pull request #124 from YunoHost-Apps/fix_apps_upgrade

Fix Nextcloud apps upgrade (fixes #123)
This commit is contained in:
frju365 2018-06-24 13:37:32 +02:00 committed by GitHub
commit 0c27c059cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,8 @@ do
# Backup 3rd party applications from the current nextcloud # Backup 3rd party applications from the current nextcloud
# But do not overwrite if there is any upgrade # But do not overwrite if there is any upgrade
cp -a --update "$final_path/apps" "$tmpdir/apps" # (apps directory already exists in Nextcloud archive)
cp -a --update "$final_path/apps" "$tmpdir"
# Replace the old nextcloud by the new one # Replace the old nextcloud by the new one
ynh_secure_remove "$final_path" ynh_secure_remove "$final_path"