different whiptail warning if ubuntu 20.04

This commit is contained in:
m0duspwnens
2023-07-17 15:56:29 -04:00
parent 425ca35a22
commit 5d4186ac07
3 changed files with 36 additions and 5 deletions

View File

@@ -417,7 +417,7 @@ set_minionid() {
}
set_palette() {
if [[ $is_ubuntu ]]; then
if [[ $is_deb ]]; then
update-alternatives --set newt-palette /etc/newt/palette.original
fi
}