diff --git a/install_arch_solphyr.sh b/install_arch_solphyr.sh index cc4aaf5..cde192f 100644 --- a/install_arch_solphyr.sh +++ b/install_arch_solphyr.sh @@ -163,6 +163,7 @@ systemctl enable NetworkManager # yay (AUR helper) if [[ "${INSTALL_YAY,,}" == "yes" ]]; then pacman -S --noconfirm base-devel git go + echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/00-yay-temp su - "$USERNAME" -c ' set -e cd /tmp @@ -172,6 +173,7 @@ if [[ "${INSTALL_YAY,,}" == "yes" ]]; then cd rm -rf /tmp/yay ' + rm -f /etc/sudoers.d/00-yay-temp fi # Hardening