Comment 6 for bug 195002

Revision history for this message
Chow Loong Jin (hyperair) wrote :

I'd like to mention that the 1:3.0~rc1-0ubuntu2 version included a wrapper that looked like this:

#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib/kde4/lib
export KDEHOME=~/.kde4
export KDEDIRS=/usr/lib/kde4
export PATH=/usr/lib/kde4/bin:$PATH
/usr/lib/kde4/bin/ktorrent $@

As a result, the wrapper cannot handle torrent files with a space in the file names. What I did was change it to look like this:

#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib/kde4/lib
export KDEHOME=~/.kde4
export KDEDIRS=/usr/lib/kde4
export PATH=/usr/lib/kde4/bin:$PATH
/usr/lib/kde4/bin/ktorrent "$@"

Now all is fine, for now. Regarding the wrapper anyway.