Bug#806399: blackbox: postrm debhelper block under remove
Package: blackbox
Version: 0.70.1-30
Severity: minor
/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).
-- System Information:
Debian Release: stretch/sid
Architecture: i386 (i686)
Kernel: Linux 4.2.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages blackbox depends on:
ii libbt0v5 0.70.1-30
ii libc6 2.19-22
ii libgcc1 1:5.2.1-23
ii libstdc++6 5.2.1-23
ii libx11-6 2:1.6.3-1
ii libxext6 2:1.3.3-1
ii libxft2 2.3.2-1
blackbox recommends no packages.
Versions of packages blackbox suggests:
pn bbkeys <none>
ii menu 2.1.47
-- no debconf information
Reply to: