Lintian tag: 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 |
level |
tag |
count |
information |
apt-listchanges |
4.8 |
apt-listchanges/4.8 |
overridden |
possible-bashism-in-maintainer-script |
1 |
'debconf.runFrontEnd()' [config:183] |
apt-listchanges |
4.8 |
apt-listchanges/4.8 |
overridden |
possible-bashism-in-maintainer-script |
1 |
'db.go()' [config:172] |
apt-listchanges |
4.8 |
apt-listchanges/4.8 |
overridden |
possible-bashism-in-maintainer-script |
1 |
'db.go()' [config:163] |
apt-listchanges |
4.8 |
apt-listchanges/4.8 |
overridden |
possible-bashism-in-maintainer-script |
1 |
'configparser.ConfigParser()' [config:191] |
awffull |
3.10.2-10 |
awffull/3.10.2-10 |
overridden |
possible-bashism-in-maintainer-script |
9 |
'${HOSTNAME' [postinst:56] |
dvi2ps |
5.1j-3 |
dvi2ps/5.1j-3 |
overridden |
possible-bashism-in-maintainer-script |
9 |
'/{local/share,share}' [preinst:98] |
emacspeak |
53.0+dfsg-5 |
emacspeak/53.0+dfsg-5 |
overridden |
possible-bashism-in-maintainer-script |
1 |
'(($port eq "none") || (-c $port))' [prerm:173] |
emacspeak-ss |
1.12.1-9 |
emacspeak-ss/1.12.1-9 |
warning |
possible-bashism-in-maintainer-script |
7 |
'(($port eq "none") || (-c $port))' [prerm:173] |
emacspeak-ss |
1.12.1-9 |
emacspeak-ss/1.12.1-9+b1 |
warning |
possible-bashism-in-maintainer-script |
2 |
'(($port eq "none") || (-c $port))' [prerm:173] |
multispeech |
4.6.2-2 |
multispeech/4.6.2-2 |
overridden |
possible-bashism-in-maintainer-script |
9 |
'(($port eq "none") || (-c $port))' [prerm:173] |
nordugrid-arc |
7.1.0-1 |
nordugrid-arc-infosys-ldap/7.1.0-1 |
overridden |
possible-bashism-in-maintainer-script |
1 |
'/{,var/}' [postinst:29] |
nordugrid-arc |
7.1.0-1 |
nordugrid-arc-infosys-ldap/7.1.0-1 |
overridden |
possible-bashism-in-maintainer-script |
1 |
'/{,var/}' [postinst:27] |