summaryrefslogtreecommitdiff
path: root/support/dktools/debian/printqd.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'support/dktools/debian/printqd.postinst')
-rw-r--r--support/dktools/debian/printqd.postinst64
1 files changed, 0 insertions, 64 deletions
diff --git a/support/dktools/debian/printqd.postinst b/support/dktools/debian/printqd.postinst
deleted file mode 100644
index 9522a12df2..0000000000
--- a/support/dktools/debian/printqd.postinst
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-# postinst script for dktools
-#
-# see: dh_installdeb(1)
-
-set -e
-
-prefix=/usr/local
-sysconfdir=${prefix}/etc
-localstatedir=${prefix}/var
-runstatedir=${localstatedir}/run
-LPRNGUSER=daemon
-LPRNGGROUP=lp
-
-# 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