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-prodconfig/; revision=2009

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

index 767995b..c449c2a 100644 (file)
@@ -1,3 +1,10 @@
+xvm-prodconfig (1.1.7) unstable; urgency=low
+
+  * Activate the invirt-reload trigger instead of running invirt-reload
+    directly
+
+ -- Evan Broder <broder@mit.edu>  Mon, 26 Jan 2009 08:09:32 -0500
+
 xvm-prodconfig (1.1.6) unstable; urgency=low
 
   * Add textbooks.xvm.mit.edu CNAME for testing for APO.
 xvm-prodconfig (1.1.6) unstable; urgency=low
 
   * Add textbooks.xvm.mit.edu CNAME for testing for APO.
diff --git a/debian/xvm-prodconfig.postinst b/debian/xvm-prodconfig.postinst
deleted file mode 100755 (executable)
index a5de4d0..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)
-       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-prodconfig.triggers b/debian/xvm-prodconfig.triggers
new file mode 100644 (file)
index 0000000..21273fd
--- /dev/null
@@ -0,0 +1 @@
+activate invirt-reload