mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Fix migration too
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
echo "Allow pacman -Sy without sudo to easier installs"
|
echo "Allow pacman -Sy without sudo to easier installs"
|
||||||
|
|
||||||
sudo tee /etc/sudoers.d/repositories >/dev/null <<EOF
|
sudo tee /etc/sudoers.d/repositories >/dev/null <<EOF
|
||||||
$USER ALL=(ALL) NOPASSWD: /usr/binpacman -Sy
|
$USER ALL=(ALL) NOPASSWD: /usr/bin/pacman -Sy
|
||||||
|
$USER ALL=(ALL) NOPASSWD: /usr/bin/yay -Sy
|
||||||
EOF
|
EOF
|
||||||
sudo chmod 440 /etc/sudoers.d/repositories
|
sudo chmod 440 /etc/sudoers.d/repositories
|
||||||
|
|||||||
Reference in New Issue
Block a user