[Bug 237266] [NEW] bashisms in laptop-mode cause it to fail

Launchpad Bug Tracker 237266 at bugs.launchpad.net
Thu Feb 17 11:43:27 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Binary package hint: laptop-mode-tools

Setting up laptop-mode-tools (1.42-1ubuntu1) ...
 * Enabling laptop mode...
[: 945: ==: unexpected operator
[: 945: ==: unexpected operator
[: 945: ==: unexpected operator

$ dpkg -L laptop-mode-tools  | xargs grep ==
/usr/sbin/laptop_mode:if [ "$1" == "start" ]; then
/usr/sbin/laptop_mode:elif [ "$1" == "stop" ] ||  [ "$2" == "stop" ]; then
/usr/share/laptop-mode-tools/modules/laptop-mode: if [ "$FST" == "ext3" -a "$MP" == "/" ] ; then

Need to change == to =.

** Affects: laptop-mode-tools (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: laptop-mode-tools (Debian)
     Importance: Unknown
         Status: Fix Released

-- 
bashisms in laptop-mode cause it to fail
https://bugs.launchpad.net/bugs/237266
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.




More information about the Ubuntu-sponsors mailing list