diff --git a/scripts/remove b/scripts/remove index ecff6a0..17b441a 100755 --- a/scripts/remove +++ b/scripts/remove @@ -55,6 +55,8 @@ ynh_secure_remove --file="$final_path" # REMOVE DATA DIR #================================================= +YNH_APP_PURGE=1 + # Remove the app data directory with the command `yunohost app remove --purge` if [ "${YNH_APP_PURGE:-0}" -eq 1 ] then