From 4ab319384f13583a516d97e91d1020574b94ae4d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 19 Aug 2021 20:02:18 +0200 Subject: [PATCH] Update remove --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 0b03969..e9312df 100755 --- a/scripts/remove +++ b/scripts/remove @@ -81,7 +81,7 @@ ynh_secure_remove --file="$final_path" #================================================= # Remove the data directory if --purge option is used -if [ "$YNH_APP_PURGE" == true ] +if [ "$YNH_APP_PURGE" == 1 ] then ynh_script_progression --message="Removing app data directory..." --time --weight=1 ynh_secure_remove --file="$datadir"