From fd9fdd1ec2cbefd675a8541c6eb5dcf47854a825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 8 Nov 2014 09:36:09 +0100 Subject: bug #768267 --- debian/libonig2-dbg.postinst | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 debian/libonig2-dbg.postinst (limited to 'debian/libonig2-dbg.postinst') diff --git a/debian/libonig2-dbg.postinst b/debian/libonig2-dbg.postinst new file mode 100644 index 0000000..5eaf0cc --- /dev/null +++ b/debian/libonig2-dbg.postinst @@ -0,0 +1,40 @@ +#!/bin/sh +# +# 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 + +# source debconf library +#. /usr/share/debconf/confmodule + + +case "$1" in + + configure|abort-upgrade|abort-remove|abort-deconfigure) + # Replace documentation directory symlink + dpkg-maintscript-helper symlink_to_dir /usr/share/doc/libonig2-dbg /usr/share/doc/libonig2 5.9.1-1~ -- "$@" + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# + + +exit 0 -- cgit v1.2.3