diff --git a/scripts/upgrade b/scripts/upgrade index 0329abf..6c0d6a0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -192,7 +192,6 @@ then # Replace the old Nextcloud by the new one ynh_secure_remove --file="$install_dir" mv "$tmpdir" "$install_dir" - ynh_secure_remove --file="$tmpdir" # Set write access for the following commands chown -R $app: "$install_dir" "$data_dir"