From cecf899ad79bcb4b65d0f5a3ffb5e9a4d8cf1425 Mon Sep 17 00:00:00 2001 From: Conor Budworth Date: Sun, 9 Nov 2025 04:09:24 +0100 Subject: [PATCH] Update install_arch_solphyr.sh --- install_arch_solphyr.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/install_arch_solphyr.sh b/install_arch_solphyr.sh index adc803a..cc4aaf5 100644 --- a/install_arch_solphyr.sh +++ b/install_arch_solphyr.sh @@ -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