|
|
@ -2,8 +2,9 @@ |
|
|
|
# LGSM fn_steamdl function |
|
|
|
# Author: Daniel Gibbs |
|
|
|
# Website: http://danielgibbs.co.uk |
|
|
|
# Version: 231114 |
|
|
|
# Version: 231214 |
|
|
|
|
|
|
|
echo "" |
|
|
|
echo "Installing SteamCMD" |
|
|
|
echo "=================================" |
|
|
|
cd "${rootdir}" |
|
|
@ -11,7 +12,8 @@ mkdir -pv "steamcmd" |
|
|
|
sleep 1 |
|
|
|
cd "steamcmd" |
|
|
|
if [ ! -f steamcmd.sh ]; then |
|
|
|
wget -nv -N http://media.steampowered.com/client/steamcmd_linux.tar.gz |
|
|
|
echo -e "downloading steamcmd_linux.tar.gz...\c" |
|
|
|
wget --no-check-certificate /dev/null http://media.steampowered.com/client/steamcmd_linux.tar.gz 2>&1 | grep -F HTTP | cut -c45- |
|
|
|
tar --verbose -zxf steamcmd_linux.tar.gz |
|
|
|
rm -v steamcmd_linux.tar.gz |
|
|
|
chmod +x steamcmd.sh |
|
|
@ -19,5 +21,4 @@ if [ ! -f steamcmd.sh ]; then |
|
|
|
else |
|
|
|
echo "Steam already installed!" |
|
|
|
fi |
|
|
|
sleep 1 |
|
|
|
echo "" |
|
|
|
sleep 1 |