Update install_arch_solphyr.sh

This commit is contained in:
Conor Budworth 2025-11-09 04:09:24 +01:00
parent 11ba338b8d
commit cecf899ad7

View File

@ -162,8 +162,16 @@ systemctl enable NetworkManager
# yay (AUR helper)
if [[ "${INSTALL_YAY,,}" == "yes" ]]; then
pacman -Sy --noconfirm base-devel git
su - $USERNAME -c "cd /tmp && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si --noconfirm && rm -rf /tmp/yay"
pacman -S --noconfirm base-devel git go
su - "$USERNAME" -c '
set -e
cd /tmp
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si --noconfirm
cd
rm -rf /tmp/yay
'
fi
# Hardening