diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-07-12 09:43:14 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-07-12 09:43:14 +0200 |
commit | 6aac668a24b0754152c53db3774003ef47662620 (patch) | |
tree | 9b273572e38432a023572931ad2ba70dcc0e3220 /debian/postrm | |
parent | 714c5115355e4c8ddb9df917dbcebc443cbc4c0e (diff) | |
download | nagios-plugin-curl-6aac668a24b0754152c53db3774003ef47662620.tar.gz nagios-plugin-curl-6aac668a24b0754152c53db3774003ef47662620.tar.bz2 |
added Debian packaging
Diffstat (limited to 'debian/postrm')
-rw-r--r-- | debian/postrm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..4337495 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,41 @@ +#!/bin/sh + +# Debian postrm script for nagios-plugin-curl + +# Author: Andreas Baumann <abaumann@yahoo.com> + +# 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' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# bail out on any error +set -e + +case "$1" in + remove|purge) + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm 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 |