fixed Linux 2.71a static installer

This commit is contained in:
Remy Marquis 2014-12-24 14:51:15 +01:00
parent 40c2abb44c
commit 9590222c45

View file

@ -105,10 +105,10 @@ if [ ! -f etlegacy-${version}-linux-i686.tar.gz ]; then
note i "Fetching ET: Legacy files..." note i "Fetching ET: Legacy files..."
downloader http://mirror.etlegacy.com/release/etlegacy-${version}-linux-i686.tar.gz downloader http://mirror.etlegacy.com/release/etlegacy-${version}-linux-i686.tar.gz
fi fi
if [ ! -f omnibot-linux-latest.tar.gz ]; then #if [ ! -f omnibot-linux-latest.tar.gz ]; then
note i "Fetching Omni-bot files..." # note i "Fetching Omni-bot files..."
downloader http://mirror.etlegacy.com/omnibot/omnibot-linux-latest.tar.gz # downloader http://mirror.etlegacy.com/omnibot/omnibot-linux-latest.tar.gz
fi #fi
# checksum # checksum
note i "Checking downloaded files..." note i "Checking downloaded files..."
@ -123,19 +123,19 @@ note i "Installing..."
./et-linux-2.60.x86.run --noexec --target etlegacy ./et-linux-2.60.x86.run --noexec --target etlegacy
rm -rf etlegacy/{bin,Docs,README,pb,openurl.sh,CHANGES,ET.xpm} etlegacy/setup.{data,sh} etlegacy/etmain/{*.cfg,*.so,*.txt,*.dat,mp_bin.pk3} rm -rf etlegacy/{bin,Docs,README,pb,openurl.sh,CHANGES,ET.xpm} etlegacy/setup.{data,sh} etlegacy/etmain/{*.cfg,*.so,*.txt,*.dat,mp_bin.pk3}
tar -zxvf etlegacy-${version}-linux-i686.tar.gz
cd etlegacy cd etlegacy
tar -zxvf ../etlegacy-${version}-linux-i686.tar.gz
chmod -f 755 etl chmod -f 755 etl
chmod -f 755 etlded chmod -f 755 etlded
chmod -f 755 etlded_bot.sh chmod -f 755 etlded_bot.sh
chmod -f 755 etl_bot.sh chmod -f 755 etl_bot.sh
cd legacy #tar -zxvf ../omnibot-linux-latest.tar.gz
tar -zxvf ../../omnibot-linux-latest.tar.gz #chmod -f 664 omni-bot/et/user/omni-bot.cfg
chmod -f 664 omni-bot/et/user/omni-bot.cfg
cd ../.. cd ..
note s "Installation successful!" note s "Installation successful!"
@ -143,8 +143,8 @@ note s "Installation successful!"
echo echo
if ! proceed "n" "Remove downloaded files archive?"; then if ! proceed "n" "Remove downloaded files archive?"; then
rm -i et-linux-2.60.x86.run rm -i et-linux-2.60.x86.run
rm -i etlegacy-linux-${version}-linux-i686.tar.gz rm -i etlegacy-${version}-linux-i686.tar.gz
rm -i omnibot-linux-latest.tar.gz #rm -i omnibot-linux-latest.tar.gz
fi fi
# end # end