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"