From cb565c9165d7eeec230485db87aadb49ed2ec461 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Thu, 12 Jun 2025 17:09:37 +0100 Subject: [PATCH] Install whiptail if not installed --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index a4e939d6..a5ad9f82 100755 --- a/install.sh +++ b/install.sh @@ -10,6 +10,11 @@ NC="\e[0m" 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" window_height='15'