diff --git a/scripts/99_yay.sh b/scripts/99_yay.sh index 7305a88..6ca8f9b 100644 --- a/scripts/99_yay.sh +++ b/scripts/99_yay.sh @@ -22,7 +22,10 @@ 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' + +sudo -u ${user} cd /tmp/yay && makepkg -si + +#runuser -l ${user} -c 'cd /tmp/yay && makepkg -si' # test yay runuser -l ${user} -c 'yay --version'