mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
different whiptail warning if ubuntu 20.04
This commit is contained in:
@@ -69,11 +69,20 @@ detect_os
|
||||
set_palette >> $setup_log 2>&1
|
||||
|
||||
if [[ $not_supported ]]; then
|
||||
if (whiptail_unsupported_os_warning); then
|
||||
true
|
||||
if [[ "$OSVER" == "focal" ]]; then
|
||||
if (whiptail_focal_warning); then
|
||||
true
|
||||
else
|
||||
info "User cancelled setup."
|
||||
whiptail_cancel
|
||||
fi
|
||||
else
|
||||
info "User cancelled setup."
|
||||
whiptail_cancel
|
||||
if (whiptail_unsupported_os_warning); then
|
||||
true
|
||||
else
|
||||
info "User cancelled setup."
|
||||
whiptail_cancel
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user