X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/xvm-devconfig.git/blobdiff_plain/3ef6475b1982c4a97278e3fcfbe5a1b0a14243d5..1db4c2e2812c8eb2bda955c0ac0a3f3eb9ef11c7:/debian/xvm-devconfig.postinst diff --git a/debian/xvm-devconfig.postinst b/debian/xvm-devconfig.postinst new file mode 100755 index 0000000..9309857 --- /dev/null +++ b/debian/xvm-devconfig.postinst @@ -0,0 +1,40 @@ +#!/bin/sh +# postinst script for xvm-devconfig +# +# see: dh_installdeb(1) + +set -e + +# 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