Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   limewire is broken under ubuntu "edgy" (https://www.gnutellaforums.com/general-linux-support/60358-limewire-broken-under-ubuntu-edgy.html)

BigCdaAnswer3 August 23rd, 2006 04:13 PM

limewire is broken under ubuntu "edgy"
 
limewire worked fine under dapper, but something in this script needs to be adjusted to work under edgy.

runLime.sh: 44: Syntax error: "(" unexpected (expecting "}")

vaskark October 28th, 2006 02:01 PM

*bump*

BigCdaAnswer3 October 28th, 2006 05:58 PM

its a simple fix. simply change runLime.sh's first line from #/bin/sh to #/bin/bash

/bin/sh in edgy is linked to dash.

vaskark October 28th, 2006 06:09 PM

Quote:

Originally Posted by BigCdaAnswer3
its a simple fix. simply change runLime.sh's first line from #/bin/sh to #/bin/bash

/bin/sh in edgy is linked to dash.

I made the change, but it didnt work. And the line should read ...

#!/bin/bash

(you forgot the !)
:rolleyes_2:

et voilą November 2nd, 2006 09:51 AM

There are also other programs with problems related to the switch to Dash. You can revert to Bash CLI by default by typing in terminal sudo dpkg-reconfigure dash

Select No from the prompt, that way you don't have to edit runLime.sh or any other startup command using bash.

They switched to Dash, because they say it is faster than Bash (I don't find that noticeable).

Ciao

koolfy November 4th, 2006 09:16 AM

ok, i found the best way to fix it.

To solve the problem we have to run the "runLime.sh" file with Bash.

how to do it easly ?

editing the file itself doesn't work for me... and editing this file may be dangerous for non-expert users.

The question is, if the launcher is runLime.sh, what do we execute when we run the "limewire" command ?
response : /usr/bin/limewire

what is it in this file ??

"
#!/bin/bash
cd /usr/lib/LimeWire
sh ./runLime.sh
"

Nothing Else.
So this /usr/bin/limewire is just a link to execute /usr/lib/Limewire/runLime.sh
and we want to execute this runLime.sh with bash.

To do so, just remplace "sh ./runLime.sh" by "bash ./runLime.sh"

then, your /usr/bin/limewire file is :
"
#!/bin/bash
cd /usr/lib/LimeWire
bash ./runLime.sh
"

and it works fine :)

I don't think there is an easier way.


All times are GMT -7. The time now is 11:07 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.