#! /bin/sh # $Id$ # $URL$ set -e case $1 in configure) data=/var/lib/bzv if ! getent passwd bzv >/dev/null 2>&1 then adduser --system --quiet --disabled-login --group --home $data --no-create-home bzv fi if ! test -e $data then default=$data/default mkdir $data $default $default/database inbox=$default/inbox mkdir $inbox $inbox/new $inbox/cur $inbox/tmp chown -R bzv:www-data /var/lib/bzv chmod -R 2755 /var/lib/bzv fi if ! test -e /var/log/bzv then mkdir /var/log/bzv /var/log/bzv/default chown -R bzv: /var/log/bzv chmod -R 2755 /var/log/bzv fi esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0