From c4d5a7dd87a05e2c27ed849562dc6c71039f59e3 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 25 Jan 2024 22:11:22 +0100 Subject: [PATCH] Unecessary ynh_secure_remove because of previous mv ... --- scripts/upgrade | 1 - 1 file changed, 1 deletion(-) 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"