#806399 blackbox: postrm debhelper block under remove

Package:
blackbox
Source:
blackbox
Description:
Window manager for X
Submitter:
Kevin Ryde
Date:
2015-11-27 07:42:06 UTC
Severity:
minor
#806399#5
Date:
2015-11-27 07:36:59 UTC
From:
To:
/var/lib/dpkg/info/blackbox.postrm has its generated debhelper block
only under "remove" case

    case "$1" in

      remove)
    # Automatically added by dh_installmenu
    inst=/etc/menu-methods/blackbox
    if [ "$1" = "remove" ] && [ -f "$inst" ]; then chmod a-x $inst ; fi
    if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
    # End automatically added section

      ;;

I think debhelper normally expects its code to run always (and checks
itself what dpkg action).  In this case I think the update-menus is
supposed to run always (though I think also it goes from a trigger so no
actual ill effect from its restriction).