FasterDapper

Marman ulist at gs1.ubuntuforums.org
Wed Aug 16 20:37:26 UTC 2006


Hi All,



First a little backround: I ran the Automatix script on a fresh Dapper
install to get Frostwire and some other packages that I use daily.
Everything was stable for the last month or so...



When I ran the faster-dapper.sh script I noticed it broke Frostwire. I
took a look at the code and found this part to be the culprit as the
Frostwire launcher - /usr/lib/frostwire/runFrost.sh script requires a
bash interpreter in order for it to work correctly:



--code snippet from faster-dapper.sh



# Enable dash as /bin/sh to run shell scripts instead of bloated bash

# See

if ( ! dpkg -l dash >/dev/null 2>&1 ); then

sudo apt-get install dash && sudo update-alternatives --install
/bin/sh sh /bin/dash 1

else

sudo update-alternatives --install /bin/sh sh /bin/dash 1

fi



--code snippet end



The above switches dash for bash and thus hoses Frostwire. To get your
Frostwire working again just do the following: 



**** ( only do this if you ran the faster-dapper.sh script ) **** 



sudo rm -f /bin/sh

sudo update-alternatives --install /bin/sh sh /bin/bash 1



Hope this helps.



cheers

-m


-- 
Marman




More information about the ubuntu-users mailing list