[Bug 179631] {kubuntu} bashism in /usr/bin/startkde

Edward Shornock ed.shornock+launchpad at gmail.com
Tue Jan 1 01:53:00 UTC 2008


Public bug reported:

Binary package hint: ksmserver

In ~/.xsession-errors one can see

[: 41: ==: unexpected operator

It turns out that it's a bashism in /usr/bin/startkde that causes it.


--- kubuntu_17_check_for_prelinking.diff        2007-12-31 20:44:54.000000000 -0500
+++ kubuntu_17_check_for_prelinking.diff.fixed  2007-12-31 20:45:56.000000000 -0500
@@ -9,7 +9,7 @@
 +# loading KDE.
 +if test -f /etc/default/prelink; then
 +      . /etc/default/prelink
-+      if [ "$PRELINKING" == yes ]; then
++      if [ "$PRELINKING" = yes ]; then
 +              export KDE_IS_PRELINKED=1
 +      fi
 +fi

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

-- 
{kubuntu} bashism in /usr/bin/startkde
https://bugs.launchpad.net/bugs/179631
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.




More information about the kubuntu-bugs mailing list