Install whiptail if not installed
This commit is contained in:
@@ -10,6 +10,11 @@ NC="\e[0m"
|
|||||||
|
|
||||||
trap 'printf "${RED}install.sh interrupted.${NC}"; exit 1' INT TERM
|
trap 'printf "${RED}install.sh interrupted.${NC}"; exit 1' INT TERM
|
||||||
|
|
||||||
|
if ! command -v whiptail >/dev/null 2>&1; then
|
||||||
|
echo "${YELLOW}Installing whiptail...${NC}"
|
||||||
|
sudo apt install -y whiptail
|
||||||
|
fi
|
||||||
|
|
||||||
testing_branch="trixie"
|
testing_branch="trixie"
|
||||||
|
|
||||||
window_height='15'
|
window_height='15'
|
||||||
|
|||||||
Reference in New Issue
Block a user