From 130eb3480e88aab9cafa7f19f80b4c12f4a14855 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sun, 5 Oct 2008 00:06:49 -0400 Subject: [PATCH] Be sure to clean up sipb-xen-www when it's uninstalled svn path=/trunk/packages/sipb-xen-www/; revision=1049 --- debian/changelog | 6 ++++++ debian/sipb-xen-www.prerm | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 debian/sipb-xen-www.prerm diff --git a/debian/changelog b/debian/changelog index c86a8f7..9ec8594 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sipb-xen-www (3.14.2) unstable; urgency=low + + * Be a good debian package and undo what you did on uninstall + + -- Evan Broder Sun, 05 Oct 2008 00:06:30 -0400 + sipb-xen-www (3.14.1) unstable; urgency=low * Try again, now that I actually understand what the problem is diff --git a/debian/sipb-xen-www.prerm b/debian/sipb-xen-www.prerm new file mode 100644 index 0000000..95dbdf6 --- /dev/null +++ b/debian/sipb-xen-www.prerm @@ -0,0 +1,41 @@ +#!/bin/sh +# prerm script for sipb-xen-www +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + update-rc.d apache2 defaults 91 9 + ;; + + 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 + + -- 1.7.9.5