From a70c6f53288aa55e564746db5d20cc7376442093 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 9 May 2022 23:46:16 +0200 Subject: [PATCH] remove the stored checksum before deleting server.toml --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index c3b9f01..07369a7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -56,7 +56,8 @@ ynh_script_progression --message="Ensuring downward compatibility..." # Upgrade from <=0.6.6~ynh1: if ynh_compare_current_package_version --comparison le --version 0.6.6~ynh1 then - rm /etc/"$app"/config.d/server.toml + ynh_delete_file_checksum --file=/etc/"$app"/config.d/server.toml + ynh_secure_remove --file=/etc/"$app"/config.d/server.toml fi #=================================================