diff --git a/scripts/99_yay.sh b/scripts/99_yay.sh index e349b83..7305a88 100644 --- a/scripts/99_yay.sh +++ b/scripts/99_yay.sh @@ -13,7 +13,16 @@ if [ "$EUID" -ne 0 ] exit fi +# update system +sudo pacman -Syu + +# install dependencies +pacman -S --needed --noconfirm go + +# install yay rm -rf /tmp/yay runuser -l ${user} -c 'git clone https://aur.archlinux.org/yay.git /tmp/yay' runuser -l ${user} -c 'cd /tmp/yay && makepkg -si' + +# test yay runuser -l ${user} -c 'yay --version'