Lintian tag information: possible-bashism-in-maintainer-script (type: warning)

Description (from lintian-explain-tags)

This script is marked as running under /bin/sh, but it seems to use a
feature found in bash but not in the SUSv3 or POSIX shell specification.

Some examples are:

- == in a test, it should use = instead - read without a variable in the
argument - function to define a function - source instead of . - . command
args, passing arguments to commands via source is not supported -
{foo,bar} instead of foo bar - [[ test ]] instead of [ test ] (requires a
Korn shell) - type instead of which or command -v

Please refer to Scripts (Section 10.4) in the Debian Policy Manual for
details.

Visibility: warning
Show-Always: no
Check: shell/non-posix/bash-centric

Affected packages

source version binary tag type tag information count
apt-listchanges 4.7 apt-listchanges/4.7 overridden possible-bashism-in-maintainer-script 'configparser.ConfigParser()' [config:191] 1
apt-listchanges 4.7 apt-listchanges/4.7 overridden possible-bashism-in-maintainer-script 'db.go()' [config:163] 1
apt-listchanges 4.7 apt-listchanges/4.7 overridden possible-bashism-in-maintainer-script 'db.go()' [config:172] 1
apt-listchanges 4.7 apt-listchanges/4.7 overridden possible-bashism-in-maintainer-script 'debconf.runFrontEnd()' [config:183] 1
awffull 3.10.2-9 awffull/3.10.2-9+b1 overridden possible-bashism-in-maintainer-script '${HOSTNAME' [postinst:56] 8
awffull 3.10.2-9 awffull/3.10.2-9+b2 overridden possible-bashism-in-maintainer-script '${HOSTNAME' [postinst:56] 1
dvi2ps 5.1j-1.5 dvi2ps/5.1j-1.5 warning possible-bashism-in-maintainer-script '/{local/share,share}' [preinst:98] 8
dvi2ps 5.1j-1.5 dvi2ps/5.1j-1.5+b1 warning possible-bashism-in-maintainer-script '/{local/share,share}' [preinst:98] 1
emacspeak 53.0+dfsg-3 emacspeak/53.0+dfsg-3 overridden possible-bashism-in-maintainer-script '(($port eq "none") || (-c $port))' [prerm:173] 1
emacspeak-ss 1.12.1-9 emacspeak-ss/1.12.1-9 warning possible-bashism-in-maintainer-script '(($port eq "none") || (-c $port))' [prerm:173] 8
emacspeak-ss 1.12.1-9 emacspeak-ss/1.12.1-9+b1 warning possible-bashism-in-maintainer-script '(($port eq "none") || (-c $port))' [prerm:173] 1
multispeech 4.6.2-1 multispeech/4.6.2-1 overridden possible-bashism-in-maintainer-script '(($port eq "none") || (-c $port))' [prerm:173] 9
nordugrid-arc 6.20.1-1 nordugrid-arc-infosys-ldap/6.20.1-1 overridden possible-bashism-in-maintainer-script '/{,var/}' [postinst:29] 1
nordugrid-arc 6.20.1-1 nordugrid-arc-infosys-ldap/6.20.1-1 overridden possible-bashism-in-maintainer-script '/{,var/}' [postinst:27] 1
redmine 5.0.4-7 redmine/5.0.4-7 warning possible-bashism-in-maintainer-script '[[' [postinst:57] 1
redmine 5.0.4-7 redmine/5.0.4-7 warning possible-bashism-in-maintainer-script '[[' [postinst:7] 1