From 047b5603c45a7788719b4083723d771384c48855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 16 Sep 2014 09:32:07 +0200 Subject: use dpkg-maintscript-helper dir_to_symlink for symlink doc dir --- debian/argyll-dbg.postrm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 debian/argyll-dbg.postrm (limited to 'debian/argyll-dbg.postrm') diff --git a/debian/argyll-dbg.postrm b/debian/argyll-dbg.postrm new file mode 100644 index 0000000..e5f18a2 --- /dev/null +++ b/debian/argyll-dbg.postrm @@ -0,0 +1,33 @@ +#! /bin/sh +# postrm script for argyll +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + dpkg-maintscript-helper dir_to_symlink /usr/share/doc/argyll-dbg argyll-doc -- "$@" + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# -- cgit v1.2.3