Skip to content

Instantly share code, notes, and snippets.

@M-D-M
Created September 18, 2015 03:21
Show Gist options
  • Save M-D-M/cf1e35af75ebf7051d94 to your computer and use it in GitHub Desktop.
Save M-D-M/cf1e35af75ebf7051d94 to your computer and use it in GitHub Desktop.
Script to download ARK dedicated server on linux to avoid "0x402" error
#!/bin/bash
steamcmdloc="/storage/steamcmd/steamcmd.sh"
arkinstallloc="/storage/ARK"
updateArkCmd="${steamcmdloc} +login anonymous +force_install_dir ${arkinstallloc} +app_update 376030 validate +quit"
$updateArkCmd
while [ $? -ne 0 ]
do
$updateArkCmd
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment