Update install_arch_solphyr.sh
This commit is contained in:
parent
11ba338b8d
commit
cecf899ad7
@ -162,8 +162,16 @@ systemctl enable NetworkManager
|
|||||||
|
|
||||||
# yay (AUR helper)
|
# yay (AUR helper)
|
||||||
if [[ "${INSTALL_YAY,,}" == "yes" ]]; then
|
if [[ "${INSTALL_YAY,,}" == "yes" ]]; then
|
||||||
pacman -Sy --noconfirm base-devel git
|
pacman -S --noconfirm base-devel git go
|
||||||
su - $USERNAME -c "cd /tmp && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si --noconfirm && rm -rf /tmp/yay"
|
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
|
fi
|
||||||
|
|
||||||
# Hardening
|
# Hardening
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user