-if [ -n "`/usr/bin/getgid bb`" ]; then
- if [ "`/usr/bin/getgid bb`" != "73" ]; then
- echo "Error: group bb doesn't have gid=73. Correct this before installing BB." 1>&2
- exit 1
- fi
-else
- /usr/sbin/groupadd -g 73 -r -f bb
-fi
-if [ -n "`/bin/id -u bb 2>/dev/null`" ]; then
- if [ "`/bin/id -u bb`" != "73" ]; then
- echo "Error: user bb doesn't have uid=73. Correct this before installing BB." 1>&2
- exit 1
- fi
-else
- /usr/sbin/useradd -u 73 -r -d %{_vardir} -s /bin/sh -c "Big Brother" -g bb -G root,proc,adm bb 1>&2
-fi