updated location of installation of whiptail

This commit is contained in:
JaKooLit
2025-02-28 01:15:00 +09:00
parent 185a7d2db7
commit 59f9364309

View File

@@ -61,6 +61,12 @@ else
fi fi
fi fi
if ! command -v whiptail >/dev/null; then
echo "${NOTE} - whiptail is not installed. Installing..."
sudo pacman -S --noconfirm whiptail
printf "\n%.0s" {1..1}
fi
clear clear
printf "\n%.0s" {1..2} printf "\n%.0s" {1..2}
@@ -98,12 +104,6 @@ if ! pacman -Qs pciutils > /dev/null; then
printf "\n%.0s" {1..1} printf "\n%.0s" {1..1}
fi fi
if ! command -v whiptail >/dev/null; then
echo "${NOTE} - whiptail is not installed. Installing..."
sudo pacman -S --noconfirm whiptail
printf "\n%.0s" {1..1}
fi
# Set the name of the log file to include the current date and time # Set the name of the log file to include the current date and time
LOG="install-$(date +%d-%H%M%S).log" LOG="install-$(date +%d-%H%M%S).log"