Allow pacman -Sy without sudo to easier installs

This commit is contained in:
David Heinemeier Hansson
2025-08-25 08:34:41 +02:00
parent a428208077
commit 55daa135a7
2 changed files with 12 additions and 0 deletions

6
migrations/1756103168.sh Normal file
View File

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