]> mj.ucw.cz Git - subauth.git/blob - debian/subauthd.postinst
Debian: Main package renamed to subauthd
[subauth.git] / debian / subauthd.postinst
1 #!/bin/sh -e
2
3 if [ "$1" = configure ] ; then
4         if ! getent passwd subauthd >/dev/null ; then
5                 adduser --system --group --disabled-login --home /nonexistent --no-create-home --gecos 'Sub-authentication daemon' subauthd
6         fi
7         chown subauthd.subauthd /var/lib/subauthd
8         chmod 700 /var/lib/subauthd
9 fi
10
11 #DEBHELPER#
12
13 exit 0