diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-02 10:55:13 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-02 10:55:13 +0100 |
commit | 5ee4a452a6baa22e8d08ac3137e617e81cd96890 (patch) | |
tree | 157c3b53da7a3750486e198adfae3e3bc4747e0a | |
parent | 20031973dc47b810a6f9c8469c10f81fcf99e234 (diff) | |
download | itzks-systems-5ee4a452a6baa22e8d08ac3137e617e81cd96890.tar.gz itzks-systems-5ee4a452a6baa22e8d08ac3137e617e81cd96890.tar.bz2 itzks-systems-5ee4a452a6baa22e8d08ac3137e617e81cd96890.zip |
/debian/itzks-systems-config.postrm: Undo dpkg diversion.
-rwxr-xr-x | bin/passwd | 4 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | debian/itzks-systems-common.postrm | 38 | ||||
-rwxr-xr-x | debian/itzks-systems-common.preinst | 2 |
4 files changed, 45 insertions, 1 deletions
diff --git a/bin/passwd b/bin/passwd new file mode 100755 index 0000000..60ac87f --- /dev/null +++ b/bin/passwd @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "Please visit https://www/gosa to set your network password for Debian Edu / Skolelinux. THANKS!" +exit 0
\ No newline at end of file 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) |