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