summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2024-10-30 22:09:18 +0000
committerBlake Romero <blake@blkrom.com>2024-10-30 22:09:18 +0000
commitb9caf7d552eaf5fc1e24729a64c72ba678158160 (patch)
treebbfd2da31ffdc9a48b3f5de6ee84bc7a9465d03a /install.sh
parentde0289f2561f7c6aab1bb5daad7722750c8a5b89 (diff)
Fix seat added to groups
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh2
1 files changed, 1 insertions, 1 deletions
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"