From 3e60786ab02db207d911ed42892819cd7e2f17fe Mon Sep 17 00:00:00 2001 From: Anthony S <60989281+TonySac@users.noreply.github.com> Date: Sat, 22 Jun 2024 09:39:03 -0700 Subject: [PATCH] Add whiptail Check for whiptail and install --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 16a89cd..b4f14c7 100755 --- a/install.sh +++ b/install.sh @@ -13,8 +13,8 @@ if [ "$(id -u)" != "0" ]; then exit 1 fi -if ! command -v git &>/dev/null || ! command -v wget &>/dev/null || ! command -v unzip &>/dev/null; then - apt-get update || true; apt-get install -y --no-install-recommends --no-install-suggests git wget unzip || true +if ! command -v git &>/dev/null || ! command -v wget &>/dev/null || ! command -v unzip &>/dev/null || ! command -v whiptail &>/dev/null; then + apt-get update || true; apt-get install -y --no-install-recommends --no-install-suggests git wget unzip whiptail || true fi function getGIT() { # getGIT $REPO $BRANCH $TARGET (directory)