diff --git a/scripts/remove b/scripts/remove index e9312df..43c57b4 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" == 1 ] +if [ "$YNH_APP_PURGE" -eq 1 ] then ynh_script_progression --message="Removing app data directory..." --time --weight=1 ynh_secure_remove --file="$datadir"