[Pkg-lirc-maint] Bug#437530: bashism in init.d script: unexpected operator: ==

martin f krafft madduck at debian.org
Mon Aug 13 05:54:46 UTC 2007

Package: lirc
Version: 0.8.0-11
Severity: serious

Starting lirc daemon:[: 133: ==: unexpected operator
[: 133: ==: unexpected operator

Use of == within [], such as

  [ "$START_LIRCD" == "true" ]

is a bashism. Since the init.d script uses /bin/sh, please change


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lirc depends on:
ii  debconf [debconf-2.0]     1.5.14         Debian configuration management sy
ii  dialog                    1.1-20070604-1 Displays user-friendly dialog boxe
ii  libasound2                1.0.14a-2      ALSA library
ii  libc6                     2.6.1-1        GNU C Library: Shared libraries
ii  liblircclient0            0.8.0-11       LIRC client library
ii  libusb-0.1-4              2:0.1.12-7     userspace USB programming library

lirc recommends no packages.

-- debconf information excluded

 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-lirc-maint/attachments/20070813/e1428fb6/attachment.pgp 

More information about the Pkg-lirc-maint mailing list