Package: bash-completion
Version: 1:2.11-4
Severity: wishlist

Hi!
The postrm for bash-completion 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)

-- no debconf information

Reply via email to