Package: fcitx-bin
Version: 4.2.7-1
Severity: serious
User: debian-rele...@lists.debian.org
Usertags: goal-dash

Hello maintainer,

While performing an archive wide checkbashisms (from the 'devscripts' 
package) check I've found your package containing a /bin/sh script making 
use of a bashism.

checkbashisms' output:
>possible bashism in ./usr/bin/fcitx-configtool line 72 (should be >word 
>2>&1):
>    if (kcmshell4 --list 2>/dev/null | grep ^kcm_fcitx &>/dev/null); then
>
>possible bashism in ./usr/bin/fcitx-configtool line 82 (should be >word 
>2>&1):
>    if which fcitx-config-gtk &>/dev/null; then
>
>possible bashism in ./usr/bin/fcitx-configtool line 88 (should be >word 
>2>&1):
>    if which fcitx-config-gtk3 &>/dev/null; then

Not using bash (or a Debian Policy conformant shell interpreter which 
doesn't provide such an extra feature) as /bin/sh is likely to lead to 
errors or unexpected behaviours.

You can find hints about how to fix bashisms at:
https://wiki.ubuntu.com/DashAsBinSh

Thank you,
Raphael Geissert


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to