#!/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