„install-xash3ds.sh“ ändern

This commit is contained in:
DeltaLima 2022-08-23 09:53:11 +00:00
parent f850deb9cd
commit f429a2e2bb

View file

@ -78,7 +78,7 @@ quit" > $XASH3D_BASEDIR/steam/hlds.install
curl -sL "$steamcmd_url" | tar xzvf - curl -sL "$steamcmd_url" | tar xzvf -
## run half-life download from steam server with steamcmd ## run half-life download from steam server with steamcmd
## If grep find Error then fetch the hlds zip from github ## If grep find Error then fetch the hlds zip from github
if [ ./steamcmd.sh +runscript hlds.install | grep Error ] if ./steamcmd.sh +runscript hlds.install | grep Error
then then
echo "There was an error fetching hlds with steamcmd. Fetching it from github" echo "There was an error fetching hlds with steamcmd. Fetching it from github"
echo $hlds_url echo $hlds_url