From 8ed4ca065340e8393b1e471792313f806270bca9 Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Fri, 11 Jul 2025 22:06:42 -0400 Subject: [PATCH] Added condition to create 'lpadmin' group if missing --- post-inst.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/post-inst.sh b/post-inst.sh index b84de51..856643f 100755 --- a/post-inst.sh +++ b/post-inst.sh @@ -88,6 +88,10 @@ EOF audio,cdrom,dip,floppy,wheel,video,dialout \ ${USERNAME} else + if [[ -z "$(cat /etc/group | grep 'lpadmin')" ]]; then + groupadd --gid 108 lpadmin + fi + usermod \ -a \ -G \