Merge branch 'master' of https://bitbucket.org/archlabslinux/installer
This commit is contained in:
commit
97491ac6a0
@ -6,7 +6,7 @@
|
|||||||
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||||
|
|
||||||
# shellcheck disable=2086,2046,2254,2164,2030,2031
|
# shellcheck disable=2086,2046,2254,2164,2030,2031
|
||||||
VER=2.13
|
VER=2.14
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -1722,7 +1722,7 @@ install_main()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# allow members of the wheel group to run commands as root
|
# 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
|
if [[ "$USERCMD" ]]; then
|
||||||
chrun "$USERCMD" 2> "$ERR" 2>&1
|
chrun "$USERCMD" 2> "$ERR" 2>&1
|
||||||
|
Reference in New Issue
Block a user