Update after.sh

This commit is contained in:
Baltrust 2026-10-14 15:23:14 +03:00
parent ec377f2fed
commit 529cd5d936

View file

@ -65,6 +65,15 @@ install -d -o "$USERNAME" -g "$USERNAME" /home/tadas/.config/yay
su - "$USERNAME" <<'EOF'
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
#
# LIMIT TESTING
echo "USERNAME=$USERNAME"
cat /etc/sudoers.d/99-install-script
runuser -u "$USERNAME" -- sudo -n true \
&& echo "Passwordless sudo works" \
|| echo "Passwordless sudo FAILED"
#############################################
makepkg -si --noconfirm
# Set up yay to not ask for password multiple times