Browse Source

Merge pull request #124 from YunoHost-Apps/fix_apps_upgrade

Fix Nextcloud apps upgrade (fixes #123)
pull/129/head
frju365 8 years ago
committed by GitHub
parent
commit
0c27c059cf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      scripts/upgrade

3
scripts/upgrade

@ -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…
Cancel
Save