Package: alamin-server
Severity: important
Version: 0.3.7-2
User: [EMAIL PROTECTED]
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 ./etc/init.d/alamin-server line 71 (should be 'b = a'):
>         if [ "$RUNSMPP" == "yes" ] ; then
> possible bashism in ./etc/init.d/alamin-server line 83 (should be 'b = a'):
>         if [ "$RUNDB2SMS" == "yes" ] ; then
> possible bashism in ./etc/init.d/alamin-server line 98 (kill -[0-9] or
> -[A-Z]): if test -n $PIDN && kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 102 (kill -[0-9] or
> -[A-Z]): while kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 123 (kill -[0-9] or
> -[A-Z]): if test -n $PIDN && kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 127 (kill -[0-9] or
> -[A-Z]): while kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 144 (should be 'b =
> a'): if [ "$RUNSMPP" == "yes" ] ; then
> possible bashism in ./etc/init.d/alamin-server line 149 (kill -[0-9] or
> -[A-Z]): if test -n $PIDN && kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 153 (kill -[0-9] or
> -[A-Z]): while kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 174 (kill -[0-9] or
> -[A-Z]):
>         if test -n $PIDN && kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 178 (kill -[0-9] or
> -[A-Z]): while kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 196 (should be 'b =
> a'): if [ "$RUNDB2SMS" == "yes" ] ; then
> possible bashism in ./etc/init.d/alamin-server line 201 (kill -[0-9] or
> -[A-Z]): if test -n $PIDN && kill -0 $PIDN 2>/dev/null
> possible bashism in ./etc/init.d/alamin-server line 205 (kill -[0-9] or
> -[A-Z]): while kill -0 $PIDN 2>/dev/null


Not using bash as /bin/sh would lead to errors. Please be aware that although 
bash is currently the default /bin/sh there's a release goal for Lenny to 
make dash the default /bin/sh[1].

If you want more information about dash as /bin/sh, you can read:
http://lists.debian.org/debian-release/2008/01/msg00189.html
https://wiki.ubuntu.com/DashAsBinSh

[1]http://release.debian.org/lenny/goals.txt

Thank you,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to