Update install_arch_solphyr.sh

This commit is contained in:
Conor Budworth 2025-11-09 04:20:27 +01:00
parent cecf899ad7
commit d9a519f755

View File

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