Author Topic: fixlibs.sh removes libs (0.3.019)  (Read 835 times)

TheBlunderbuss

  • Traveller
  • *
  • Posts: 11
    • View Profile
fixlibs.sh removes libs (0.3.019)
« on: October 10, 2007, 06:37:56 am »
When wget fails (either by server error or when the libs are already present), fixlibs.sh removes all the libs the user already has.
I've supplied my fix below
Code: [Select]
#!/bin/bash

echo This program will download the latest dynamic libs required by PlaneShift. If you have missing lib errors, running this program may fix them.
echo Press enter to continue. Press Ctrl+C to abort.
read -e ENTER
echo Downloading new libs. This may take a while.
{
wget http://download.xordan.com/32bitlibs.tar.bz2 &&
{
echo Download finished.... copying to correct location.
rm -R libs
tar -xjf 32bitlibs.tar.bz2
rm 32bitlibs.tar.bz2
echo All done.
} } || echo An error was encountered. No libs were updated or removed.


Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: fixlibs.sh removes libs (0.3.019)
« Reply #1 on: October 10, 2007, 04:19:12 pm »
Thanks, I'll get this sorted for next release!