From cf8a0927d6859a55febd52ccbb4b94f564842fbd Mon Sep 17 00:00:00 2001 From: TomJansen <2716208+TomJansen@users.noreply.github.com> Date: Tue, 6 Nov 2018 15:40:26 +0100 Subject: [PATCH] pacman now downloads/updates database files before running the script --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 6574f8b..586b971 100755 --- a/larbs.sh +++ b/larbs.sh @@ -30,7 +30,7 @@ esac done ### FUNCTIONS ### ### -initialcheck() { pacman -S --noconfirm --needed dialog || { echo "Are you sure you're running this as the root user? Are you sure you're using an Arch-based distro? ;-) Are you sure you have an internet connection?"; exit; } ;} +initialcheck() { pacman -Sy --noconfirm --needed dialog || { echo "Are you sure you're running this as the root user? Are you sure you're using an Arch-based distro? ;-) Are you sure you have an internet connection?"; exit; } ;} preinstallmsg() { \ dialog --title "Let's get this party started!" --yes-label "Let's go!" --no-label "No, nevermind!" --yesno "The rest of the installation will now be totally automated, so you can sit back and relax.\\n\\nIt will take some time, but when done, you can relax even more with your complete system.\\n\\nNow just press and the system will begin installation!" 13 60 || { clear; exit; }