Bug#999414: postrm: bash -> sh
Package: libdebuginfod-common
Version: 0.185-2
Severity: wishlist
Hi!
The postrm for libdebuginfod-common doesn't have any bashisms, yet its
hashbang is #!/bin/bash. Could you please change it to #!/bin/sh?
For today, there's no gain (except for a tiny fraction of second saved
by a faster shell) -- but we have a slowly going project to make bash
non-essential. That's probably many years in the future, but postrm
scripts have an issue -- there's no way to upgrade them if a package
has been removed but not purged. Thus, it'd be good to do the switch
a long time in the advance.
And here, all it takes is removing two characters from the hashbang...
Meow!
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (120, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.15.0-00014-g67911f236fa6 (SMP w/64 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libdebuginfod-common depends on:
ii debconf [debconf-2.0] 1.5.79
ii ucf 3.0043
libdebuginfod-common recommends no packages.
libdebuginfod-common suggests no packages.
-- debconf information excluded
Reply to: