07-05-2013, 11:50 PM
(This post was last modified: 07-06-2013, 05:36 PM by Commander DusK.)
So when ever I use this code to install CSS and Garrys Mod it dosnt install CSS:
What it sais:
And then it just continues installing hl2 but not css.
Code:
#!/bin/bash
echo "Garry's Mod Installer"
echo "A screen may ask you to agree, just type yes when this happens!"
echo "Starting in five seconds!"
sleep 5
echo "Installing lib32gcc1 just incase it is missing"
apt-get install -y lib32gcc1
echo "Downloading HLDSupdatetool"
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin <<< "yes"
./steam
echo "Downloading CSS"
./steam -command update -game "Counter-Strike Source" -dir . -verify_all
echo "Downloading Garry's Mod"
./steam -command update -game garrysmod -dir . -verify_all
echo "Installed! Will continue with setup in 5 seconds."
sleep 5
echo "Copying CStrike folder to orangebox for CSS content."
cp -r ./css/cstrike ./orangebox
echo "Done!"
What it sais:
Code:
Updating Installation
Determining which depot(s) to install/update...
** 'game' options for Source DS Install:
"ageofchivalry"
"alienswarm"
"cssbeta"
"diprip"
"dystopia"
"episode1"
"esmod"
"garrysmod"
"garrysmodbeta"
"insurgency"
"l4d_full"
"left4dead"
"left4dead2"
"left4dead2_demo"
"orangebox"
"pvkii"
"smashball"
"synergy"
"zps"
** 'game' options for HL1 DS Install:
"cstrike"
"cstrike_beta"
"dmc"
"gearbox"
"ricochet"
"tfc"
"valve"
** 'game' options for Third-Party game servers:
"ageofchivalry"
"aliensvspredator"
"americasarmy3"
"brink"
"darkesthour"
"darkmessiah"
"defencealliance2"
"dinodday"
"diprip"
"dystopia"
"esmod"
"garrysmod"
"garrysmodbeta"
"hauntedhellsreach"
"homefront"
"homefrontjpn"
"insurgency"
"killingfloor"
"killingfloor_beta"
"marenostrum"
"modernwarfare3"
"mondaynightcombat"
"naturalselection2"
"nexuiz"
"pvkii"
"redorchestra"
"redorchestra2"
"redorchestra_beta"
"serioussam3"
"serioussam3-deprecated"
"serioussamhdse"
"ship"
"sin"
"smashball"
"sniperelitev2"
"synergy"
"tshb"
"zps"
Pretty fly for a sys admin :p