Doesn't work with yay
This commit is contained in:
1 parent
6c656766f8
commit
f4ea58bdd0
3 files changed
-3
No files matched your search
@@ -41,6 +41,5 @@ fi
|
||||
# Allow repository index updates without sudo
|
||||
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
|
||||
Reference in new issue
Block a user