From 79b41615395b856a222fd8610e13bf3ae504d8c5 Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 16:38:22 -0500 Subject: [PATCH] u --- scripts/99_yay.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'