dialog only installed when needed

This commit is contained in:
Luke 2017-10-05 22:07:48 -07:00
parent e53dbd5d4c
commit 9ca95f61ed
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
pacman -S --noconfirm dialog || (echo "Error at script start: Are you sure you're running this as the root user? Are you sure you have an internet connection?" && exit) pacman -S --noconfirm --needed dialog || (echo "Error at script start: Are you sure you're running this as the root user? Are you sure you have an internet connection?" && exit)
RED='\033[0;31m' RED='\033[0;31m'
BLUE='\033[0;34m' BLUE='\033[0;34m'
NC='\033[0m' NC='\033[0m'