diff --git a/installer b/installer index cc42c4e..0485621 100755 --- a/installer +++ b/installer @@ -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