summaryrefslogtreecommitdiff
path: root/support/dktools/debian/printqd.postinst.in
diff options
context:
space:
mode:
Diffstat (limited to 'support/dktools/debian/printqd.postinst.in')
-rw-r--r--support/dktools/debian/printqd.postinst.in64
1 files changed, 0 insertions, 64 deletions
diff --git a/support/dktools/debian/printqd.postinst.in b/support/dktools/debian/printqd.postinst.in
deleted file mode 100644
index 887a9f31be..0000000000
--- a/support/dktools/debian/printqd.postinst.in
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-# postinst script for dktools
-#
-# see: dh_installdeb(1)
-
-set -e
-
-prefix=@prefix@
-sysconfdir=@sysconfdir@
-localstatedir=@localstatedir@
-runstatedir=@runstatedir@
-LPRNGUSER=@LPRNGUSER@
-LPRNGGROUP=@LPRNGGROUP@
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <postinst> `abort-remove'
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- configure)
- if [ ! -d ${localstatedir}/log/printqd ]
- then
- mkdir -p ${localstatedir}/log/printqd
- chown ${LPRNGUSER}:${LPRNGGROUP} ${localstatedir}/log/printqd
- chmod 775 ${localstatedir}/log/printqd
- fi
- if [ ! -d ${localstatedir}/lib/printqd ]
- then
- mkdir -p ${localstatedir}/lib/printqd
- chown ${LPRNGUSER}:${LPRNGGROUP} ${localstatedir}/lib/printqd
- chmod 775 ${localstatedir}/lib/printqd
- fi
- if [ ! -d /run/printqd ]
- then
- mkdir -p /run/printqd
- chown ${LPRNGUSER}:${LPRNGGROUP} /run/printqd
- chmod 775 /run/printqd
- fi
- ;;
-
- 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