updated location of installation of whiptail
This commit is contained in:
12
install.sh
12
install.sh
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user