From 9edc802bb9c169103708a9af0880ff80bd528a15 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 29 Aug 2021 10:46:43 +0200 Subject: [PATCH] Update remove --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index c154d2d..8fef2b5 100644 --- a/scripts/remove +++ b/scripts/remove @@ -56,7 +56,7 @@ ynh_secure_remove --file="$final_path" #================================================= # # Remove the app data directory with the command `yunohost app remove --purge` -# if [ "$YNH_APP_PURGE" == true ] +# if [ "${YNH_APP_PURGE:-0}" -eq 1 ] # then # ynh_script_progression --message="Removing $app data directory..." --weight=2 # ynh_secure_remove --file="$datadir"