Ignore:
Timestamp:
Jan 28, 2010, 12:24:00 AM (15 years ago)
Author:
broder
Message:

Fix invirt-base's handling of triggers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-base/scripts/invirt-reload

    r2941 r2966  
    11#!/bin/bash
    22
    3 if [ "$DPKG_MAINTSCRIPT_PACKAGE" != '' ] && \
     3if [ x"$INVIRT_RELOAD_NOTRIGGER" = x ] && \
     4    [ "$DPKG_MAINTSCRIPT_PACKAGE" != '' ] && \
    45    [ $# = 0 ] && \
    56    dpkg-trigger --check-supported 2>/dev/null; then
    6     if dpkg-trigger --no-await invirt-base; then
     7    if dpkg-trigger --no-await invirt-reload; then
    78        echo "invirt-reload: deferring update (trigger activated)"
    89        exit 0
Note: See TracChangeset for help on using the changeset viewer.