Use a trigger in invirt-base to run invirt-reload instead of the
authorEvan Broder <broder@mit.edu>
Mon, 26 Jan 2009 13:54:37 +0000 (08:54 -0500)
committerEvan Broder <broder@mit.edu>
Mon, 26 Jan 2009 13:54:37 +0000 (08:54 -0500)
postinst of xvm-*config.

svn path=/trunk/packages/xvm-devconfig/; revision=2009

debian/changelog
debian/xvm-devconfig.postinst [deleted file]
debian/xvm-devconfig.triggers [new file with mode: 0644]

index 4735c91..e86d0aa 100644 (file)
@@ -1,3 +1,10 @@
+xvm-devconfig (0.17) unstable; urgency=low
+
+  * Activate the invirt-reload trigger instead of running invirt-reload
+    directly.
+
+ -- Evan Broder <broder@mit.edu>  Mon, 26 Jan 2009 08:10:45 -0500
+
 xvm-devconfig (0.16) unstable; urgency=low
 
   * Prod launched! Move the development cluster to the dev names
diff --git a/debian/xvm-devconfig.postinst b/debian/xvm-devconfig.postinst
deleted file mode 100755 (executable)
index 0ea467b..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-# postinst script
-#
-# see: dh_installdeb(1)
-
-set -e
-set -x
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    configure)
-       /usr/sbin/invirt-reload
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst 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
diff --git a/debian/xvm-devconfig.triggers b/debian/xvm-devconfig.triggers
new file mode 100644 (file)
index 0000000..21273fd
--- /dev/null
@@ -0,0 +1 @@
+activate invirt-reload