From b9caf7d552eaf5fc1e24729a64c72ba678158160 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 30 Oct 2024 22:09:18 +0000 Subject: Fix seat added to groups --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5bb980a..cf9e84a 100644 --- a/install.sh +++ b/install.sh @@ -283,7 +283,7 @@ EOF artix-chroot /mnt bash -c "echo root:artix | chpasswd" # Add new user -[[ "${elogind}" == false ]] user_groups+=",seat" +[[ "${elogind}" == false ]] && user_groups+=",seat" artix-chroot /mnt bash -c "useradd -mG ${user_groups} ${user}" artix-chroot /mnt bash -c "echo \"${user}:${password}\" | chpasswd" -- cgit