Created
April 7, 2012 21:18
-
-
Save lazypower/2332154 to your computer and use it in GitHub Desktop.
Automate the deployment of your own TShock server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get -y install mono-complete | |
#Force removal of the directory if it exists | |
rm -rf /tmp/terraria | |
mkdir /tmp/terraria | |
#create the cache | |
cd /tmp/terraria | |
#Fetch the TShock server bins | |
wget -O tshock.zip https://github.com/downloads/TShock/TShock/TShock%203.8.0.0304.zip | |
unzip /tmp/terraria/tshock.zip | |
#cleanup the download | |
rm tshock.zip | |
mv /tmp/terraria /opt/terraria |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment