From: Evan Broder Date: Sun, 5 Oct 2008 04:06:49 +0000 (-0400) Subject: Be sure to clean up sipb-xen-www when it's uninstalled X-Git-Tag: sipb-xen-www/3.14.2^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/130eb3480e88aab9cafa7f19f80b4c12f4a14855?hp=624e26ffeca823b425d8e65ff87c681bafee7d6d Be sure to clean up sipb-xen-www when it's uninstalled svn path=/trunk/packages/sipb-xen-www/; revision=1049 --- 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 + +