[Pkg-xen-changes] r128 - trunk/xen-3.0/debian

Guido Trotter ultrotter at costa.debian.org
Tue Mar 21 17:08:52 UTC 2006


Author: ultrotter
Date: 2006-03-21 17:08:49 +0000 (Tue, 21 Mar 2006)
New Revision: 128

Added:
   trunk/xen-3.0/debian/xen-utils-3.0.prerm
Modified:
   trunk/xen-3.0/debian/xen-utils-3.0.postrm
Log:
Stop xend and xendomains in prerm, not postrm (too late...)


Modified: trunk/xen-3.0/debian/xen-utils-3.0.postrm
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.postrm	2006-03-21 16:54:07 UTC (rev 127)
+++ trunk/xen-3.0/debian/xen-utils-3.0.postrm	2006-03-21 17:08:49 UTC (rev 128)
@@ -16,8 +16,6 @@
 	;;
 
 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-	invoke-rc.d xendomains stop || true
-	invoke-rc.d xend stop || true
 	;;
 
 *)

Added: trunk/xen-3.0/debian/xen-utils-3.0.prerm
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.prerm	2006-03-21 16:54:07 UTC (rev 127)
+++ trunk/xen-3.0/debian/xen-utils-3.0.prerm	2006-03-21 17:08:49 UTC (rev 128)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+remove|deconfigure|upgrade)
+	invoke-rc.d xendomains stop || true
+	invoke-rc.d xend stop || true
+	;;
+failed-upgrade)
+	;;
+*)
+	echo "postrm called with unknown argument \`$1'" >&2
+	exit 
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
+




More information about the Pkg-xen-changes mailing list