From 0687aa0d04567b2a87ca6990e22654eb2213fabe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 26 May 2024 15:46:44 +0200 Subject: [PATCH] re-fix upgrade --- scripts/upgrade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 89b86a0..dbe1a71 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,10 +29,10 @@ fi if [ -d "/opt/yunohost/$app" ]; then mv "/opt/yunohost/$app/"* "$install_dir" - ynh_secure_remove --file="/opt/yunohost/$app/check-restic" - ynh_secure_remove --file="/opt/yunohost/$app/check_method_restic" - ynh_secure_remove --file="/opt/yunohost/$app/restic_check_log_restic" - ynh_secure_remove --file="/opt/yunohost/$app/restic_log_restic" + ynh_delete_file_checksum --file="/opt/yunohost/$app/check-restic" + ynh_delete_file_checksum --file="/opt/yunohost/$app/check_method_restic" + ynh_delete_file_checksum --file="/opt/yunohost/$app/restic_check_log_restic" + ynh_delete_file_checksum --file="/opt/yunohost/$app/restic_log_restic" ynh_secure_remove --file="/opt/yunohost/$app/" fi