From 90dff901cc6102552f814fc199b4cebc6844aa2e Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 1 Jun 2024 16:02:15 -0700 Subject: [PATCH] Easier to read regex Signed-off-by: Tommy --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 41aecf7..3085800 100644 --- a/install.sh +++ b/install.sh @@ -474,7 +474,7 @@ EOF [ -n "$username" ] && echo "Setting user password for ${username}." && echo -e "${user_password}\n${user_password}" | arch-chroot /mnt passwd "$username" &>/dev/null ## Give wheel user sudo access. -sed -i 's/# \(%wheel ALL=(ALL\(:ALL\|\)) ALL\)/\1/g' /mnt/etc/sudoers +sed -i 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/g' /mnt/etc/sudoers ## Enable services systemctl enable apparmor --root=/mnt