diff --git a/install.sh b/install.sh index 91b5e6e..283012f 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ echo ' set -eux pipefail # Install prerequisites -sudo pacman -Syu git zsh curl git +sudo pacman -Syu git zsh curl git --noconfirm # Do not exit on fail set +eux @@ -43,11 +43,12 @@ curl -fsSL https://get.docker.com | sh set -eux # Install rootless mode -sudo sh -eux < /dev/null; then + echo "yay is NOT installed. Running installation commands..." + git clone https://aur.archlinux.org/yay.git + makepkg -si ./yay +fi + +curl -fsSL https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/configs/PackagesPacman.txt | yay -S - --needed --save --answerclean All --answerdiff All # Do not print commands set +x