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