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