diff --git a/static/larbs.sh b/static/larbs.sh index 8489c63..822d528 100755 --- a/static/larbs.sh +++ b/static/larbs.sh @@ -292,7 +292,8 @@ adduserandpass || error "Error adding username and/or password." # Allow user to run sudo without password. Since AUR programs must be installed # in a fakeroot environment, this is required for all builds with AUR. trap 'rm -f /etc/sudoers.d/larbs-temp' HUP INT QUIT TERM PWR EXIT -echo "%wheel ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/larbs-temp +echo "%wheel ALL=(ALL) NOPASSWD: ALL +Defaults:%wheel runcwd=*" >/etc/sudoers.d/larbs-temp # Make pacman colorful, concurrent downloads and Pacman eye-candy. grep -q "ILoveCandy" /etc/pacman.conf || sed -i "/#VerbosePkgLists/a ILoveCandy" /etc/pacman.conf