chiark / gitweb /
config: sort out directory handling
[hippotat.git] / debian / hippotat.postinst
1 #!/bin/sh
2 set -e
3
4 adduser --system --group --force-badname --shell=/bin/bash \
5         --home /etc/hippotat Debian-hippotat
6
7 umask 077
8
9 pd=/etc/hippotat/passwords.d
10 test -d $pd || \
11 install -m750 -o root -g Debian-hippotat $pd
12
13 #DEBHELPER#