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:
commit
0c27c059cf
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue