From 453c295ae2a8570465e00bd35737b4c0c258a006 Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Sun, 24 Nov 2024 16:41:36 -0300 Subject: [PATCH] fix(ujust): dx-group using built in GROUPS array in bash (#1974) --- just/bluefin-system.just | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/just/bluefin-system.just b/just/bluefin-system.just index f1192bd6597..ea88ae388fe 100644 --- a/just/bluefin-system.just +++ b/just/bluefin-system.just @@ -143,11 +143,11 @@ dx-group: fi } - GROUPS=("docker" "incus-admin" "lxd" "libvirt") + GROUPS_ADD=("docker" "incus-admin" "lxd" "libvirt") - for GROUP in "${GROUPS[@]}" ; do - append_group $GROUP - pkexec usermod -aG $GROUP $USER + for GROUP_ADD in "${GROUPS_ADD[@]}" ; do + append_group $GROUP_ADD + pkexec usermod -aG $GROUP_ADD $USER done echo "Reboot system and log back in to use docker, incus-admin, lxd, libvirt."