From 309d85086e3689e9329ef7deb766e398e4b22d8c Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 6 Nov 2018 13:53:30 -0500 Subject: [PATCH] ensure repos --- testing/arch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/arch.sh b/testing/arch.sh index 1d16e1a..0051e33 100755 --- a/testing/arch.sh +++ b/testing/arch.sh @@ -5,7 +5,7 @@ #DO NOT RUN THIS YOURSELF because Step 1 is it reformatting /dev/sda WITHOUT confirmation, #which means RIP in peace qq your data unless you've already backed up all of your drive. -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 -Sy --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; } dialog --defaultno --title "DON'T BE A BRAINLET!" --yesno "This is an Arch install script that is very rough around the edges.\n\nOnly run this script if you're a big-brane who doesn't mind deleting your entire /dev/sda drive.\n\nThis script is only really for me so I can autoinstall Arch.\n\nt. Luke" 15 60 || exit