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/prerm | |
parent | 714c5115355e4c8ddb9df917dbcebc443cbc4c0e (diff) | |
download | nagios-plugin-curl-6aac668a24b0754152c53db3774003ef47662620.tar.gz nagios-plugin-curl-6aac668a24b0754152c53db3774003ef47662620.tar.bz2 |
added Debian packaging
Diffstat (limited to 'debian/prerm')
-rw-r--r-- | debian/prerm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..bae0677 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,40 @@ +#!/bin/sh + +# Debian prerm script for nagios-plugin-curl + +# Author: Andreas Baumann <abaumann@yahoo.com> + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <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|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm 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 |