Debian Codegraph @

debian/ippl.postinst

raw
1 #!/bin/bash
2 # postinst
3
4 set -e
5
6 USERNAME="Debian-ippl"
7
8 [ -n "$IPPLDEBUG" ] && set -x
9
10 # Add user
11 if [ "$1" = "configure" ]; then
12 echo >&2 'Adding system user'
13 adduser --system --group --home /run/ippl \
14 --disabled-login --force-badname $USERNAME
15 fi
16
17 #DEBHELPER#