Bastian Blank
2012-Jun-17  21:54 UTC
[Pkg-xen-changes] r1040 - in trunk/xen/debian: . templates
Author: waldi
Date: Sun Jun 17 21:54:50 2012
New Revision: 1040
Log:
* debian/changelog: Update.
* debian/templates/xen-utils.postinst.in, debian/templates/xen-utils.prerm.in:
  Use new init script.
Modified:
   trunk/xen/debian/changelog
   trunk/xen/debian/templates/xen-utils.postinst.in
   trunk/xen/debian/templates/xen-utils.prerm.in
Modified: trunk/xen/debian/changelog
=============================================================================---
trunk/xen/debian/changelog	Sun Jun 17 21:53:54 2012	(r1039)
+++ trunk/xen/debian/changelog	Sun Jun 17 21:54:50 2012	(r1040)
@@ -1,6 +1,7 @@
 xen (4.1.3~rc1+hg-20120614.a9c0a89c08f2-3) UNRELEASED; urgency=low
 
   * Remove /usr/lib/xen-default.
+  * Fix init script usage.
 
  -- Bastian Blank <waldi at debian.org>  Sun, 17 Jun 2012 23:52:46 +0200
 
Modified: trunk/xen/debian/templates/xen-utils.postinst.in
=============================================================================---
trunk/xen/debian/templates/xen-utils.postinst.in	Sun Jun 17 21:53:54 2012
(r1039)
+++ trunk/xen/debian/templates/xen-utils.postinst.in	Sun Jun 17 21:54:50 2012
(r1040)
@@ -5,8 +5,8 @@
 case "$1" in
     configure)
         update-alternatives --remove xen-default /usr/lib/xen- at version@
-        if [ -x "/etc/init.d/xend" ]; then
-	    invoke-rc.d xend start || exit $?
+        if [ -x "/etc/init.d/xen" ]; then
+	    invoke-rc.d xen start || exit $?
         fi
     ;;
 
Modified: trunk/xen/debian/templates/xen-utils.prerm.in
=============================================================================---
trunk/xen/debian/templates/xen-utils.prerm.in	Sun Jun 17 21:53:54 2012	(r1039)
+++ trunk/xen/debian/templates/xen-utils.prerm.in	Sun Jun 17 21:54:50 2012
(r1040)
@@ -5,8 +5,8 @@
 case "$1" in
     remove|upgrade)
         update-alternatives --remove xen-default /usr/lib/xen- at version@
-        if [ -x "/etc/init.d/xend" ]; then
-            invoke-rc.d xend stop || exit $?
+        if [ -x "/etc/init.d/xen" ]; then
+            invoke-rc.d xen stop || exit $?
         fi
     ;;