From ab8224d34d9d7a31db4b3532a99e4d581048a0f5 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 26 Jan 2009 08:54:37 -0500 Subject: [PATCH] Use a trigger in invirt-base to run invirt-reload instead of the postinst of xvm-*config. svn path=/trunk/packages/xvm-prodconfig/; revision=2009 --- debian/changelog | 7 +++++++ debian/xvm-prodconfig.postinst | 41 ---------------------------------------- debian/xvm-prodconfig.triggers | 1 + 3 files changed, 8 insertions(+), 41 deletions(-) delete mode 100755 debian/xvm-prodconfig.postinst create mode 100644 debian/xvm-prodconfig.triggers diff --git a/debian/changelog b/debian/changelog index 767995b..c449c2a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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. diff --git a/debian/xvm-prodconfig.postinst b/debian/xvm-prodconfig.postinst deleted file mode 100755 index a5de4d0..0000000 --- a/debian/xvm-prodconfig.postinst +++ /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: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# 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 index 0000000..21273fd --- /dev/null +++ b/debian/xvm-prodconfig.triggers @@ -0,0 +1 @@ +activate invirt-reload -- 1.7.9.5