diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | debian/itzks-systems-common.postrm | 38 | ||||
-rwxr-xr-x | debian/itzks-systems-common.preinst | 2 |
3 files changed, 41 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index a25d98c..5d03db7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ itzks-systems (2012.11.02.2) UNRELEASED; urgency=low * Rename of bin:package: itzks-systems-config -> itzks-systems-common. + * /debian/itzks-systems-config.postrm: + + Undo dpkg diversion. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 02 Nov 2012 10:45:06 +0100 diff --git a/debian/itzks-systems-common.postrm b/debian/itzks-systems-common.postrm new file mode 100755 index 0000000..6cbc63a --- /dev/null +++ b/debian/itzks-systems-common.postrm @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for itzks-systems-common.postrm +# +# see: dh_installdeb(1) +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see /usr/share/doc/packaging-manual/ + +set -e + + +case "$1" in + purge|remove) + if ! dpkg-divert --list | grep passwd.gnu 1>/dev/null 2>/dev/null; then + dpkg-divert --package itzks-systems-common --remove /usr/bin/passwd + fi + ;; + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + *) + 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# + +exit 0
\ No newline at end of file diff --git a/debian/itzks-systems-common.preinst b/debian/itzks-systems-common.preinst index ea933cf..0e0f9e4 100755 --- a/debian/itzks-systems-common.preinst +++ b/debian/itzks-systems-common.preinst @@ -1,5 +1,5 @@ #!/bin/sh -# preinst script for x2goserver +# preinst script for itzks-systems-common.preinst # # see: dh_installdeb(1) |