Update install_arch_solphyr.sh
This commit is contained in:
parent
cecf899ad7
commit
d9a519f755
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user