2 getent group hal >/dev/null || usr/sbin/groupadd -g 82 hal
3 getent group optical >/dev/null || usr/sbin/groupadd -g 93 optical
4 getent group floppy >/dev/null || usr/sbin/groupadd -g 94 floppy
5 getent group storage >/dev/null || usr/sbin/groupadd -g 95 storage
6 getent passwd hal >/dev/null || usr/sbin/useradd -c 'HAL daemon' -u 82 -g hal -G optical,floppy,storage -d '/' -s /bin/false hal
7 usr/bin/passwd -l hal &>/dev/null
10 # arg 1: the new package version
11 # arg 2: the old package version
16 # arg 1: the old package version
18 if getent passwd hal &>/dev/null; then
21 if getent group hal &>/dev/null; then