X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-base.git/blobdiff_plain/89da73a86152b5756a2d077be3cccb1c5dbf92cd..6b79bea089ab5a08923787ea9fae861891a737fc:/scripts/invirt-reload diff --git a/scripts/invirt-reload b/scripts/invirt-reload index 84dbe7a..7792f50 100755 --- a/scripts/invirt-reload +++ b/scripts/invirt-reload @@ -1,9 +1,10 @@ #!/bin/bash -if [ "$DPKG_MAINTSCRIPT_PACKAGE" != '' ] && \ +if [ x"$INVIRT_RELOAD_NOTRIGGER" = x ] && \ + [ "$DPKG_MAINTSCRIPT_PACKAGE" != '' ] && \ [ $# = 0 ] && \ dpkg-trigger --check-supported 2>/dev/null; then - if dpkg-trigger --no-await invirt-base; then + if dpkg-trigger --no-await invirt-reload; then echo "invirt-reload: deferring update (trigger activated)" exit 0 fi