Comment 23 for bug 1501884

Revision history for this message
Julian Andres Klode (juliank) wrote :

A better (IMO) code to check this is:

case "$DPKG_MAINTSCRIPT_PACKAGE::$DPKG_MAINTSCRIPT_NAME" in
    linux-image-extra*::postrm)
        exit 0;;
esac

I uploaded update-notifier and unattended-upgrades with that for bug 1458204.