warn of unsupported os

This commit is contained in:
m0duspwnens
2023-07-13 16:38:51 -04:00
parent f0c391e801
commit 4158e18675
3 changed files with 29 additions and 8 deletions

View File

@@ -64,6 +64,14 @@ done
# Let's see what OS we are dealing with here
detect_os
if [[ $not_supported ]]; then
if (whiptail_unsupported_os_warning); then
true
else
info "User cancelled setup."
whiptail_cancel
fi
fi
# Check to see if this is the setup type of "desktop".
is_desktop=