Doesn't work with yay

This commit is contained in:
David Heinemeier Hansson
2025-08-25 13:55:01 +02:00
parent 6c656766f8
commit f4ea58bdd0
3 changed files with 0 additions and 3 deletions

View File

@@ -2,6 +2,5 @@ echo "Allow pacman -Sy without sudo to easier installs"
sudo tee /etc/sudoers.d/repositories >/dev/null <<EOF
$USER ALL=(ALL) NOPASSWD: /usr/bin/pacman -Sy
$USER ALL=(ALL) NOPASSWD: /usr/bin/yay -Sy
EOF
sudo chmod 440 /etc/sudoers.d/repositories