diff --git a/arch.setup.sh b/arch.setup.sh index df72bc5..72813d4 100644 --- a/arch.setup.sh +++ b/arch.setup.sh @@ -1,7 +1,10 @@ #!/usr/bin/env bash +# Stop on error +set -e + # Install yay -pacman -S --needed git base-devel +sudo pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay-bin.git /tmp/yay cd /tmp/yay makepkg -si