commit 309d85086e3689e9329ef7deb766e398e4b22d8c
parent efc871190d48a75d9430076bde8d559826c64c92
Author: Luke Smith <luke@lukesmith.xyz>
Date: Tue, 6 Nov 2018 13:53:30 -0500
ensure repos
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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