Skip to content

Commit

Permalink
fix(ujust): dx-group using built in GROUPS array in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Nov 24, 2024
1 parent c5f467c commit 459a363
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions just/bluefin-system.just
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 459a363

Please sign in to comment.