Public bug reported:

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: New

-- 
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to