#!/bin/sh # postinst script for dktools # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) # ##### LINUX DISTRIBUTION PACKAGERS ##### # ##### If your distribution contains the LPRng software, please # ##### check LPUSER and LPGROUP to meet the user and group used # ##### to run the LPRng lpd daemon on your distribution. # ##### Correct the lines if necessary. # LPUSER="daemon" LPGROUP="daemon" # # ##### for i in /var/run/printqd /var/log/printqd /var/printqd do [ -d $i ] || mkdir $i chown -R ${LPUSER}:${LPGROUP} $i chmod 770 $i done ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0