This commit is contained in:
natemaia 2022-02-04 12:20:11 -08:00
commit 97491ac6a0

View File

@ -6,7 +6,7 @@
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
# shellcheck disable=2086,2046,2254,2164,2030,2031
VER=2.13
VER=2.14
# default values {
@ -1722,7 +1722,7 @@ install_main()
fi
# allow members of the wheel group to run commands as root
sed -i "s/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g" "$MNT/etc/sudoers"
sed -i 's/^# \(%wheel ALL=(ALL.*) ALL\)$/\1/g' "$MNT/etc/sudoers"
if [[ "$USERCMD" ]]; then
chrun "$USERCMD" 2> "$ERR" 2>&1