From 0da6e30c42dfc7a29775eb1f3bf26ac8742ce33e Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 21 Feb 2024 19:20:51 -0500 Subject: [PATCH] fix #538 --- static/larbs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/larbs.sh b/static/larbs.sh index a4eae71..911001f 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