Created
June 21, 2013 14:01
-
-
Save cpdean/5831360 to your computer and use it in GitHub Desktop.
This file contains 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/sh | |
# install df dependencies for ubuntu precise32 | |
# download and unzip df tar.bz2 | |
# manipulate config file for text mode | |
sudo apt-get update -qq | |
sudo apt-get install libgtk2.0-0 libsdl-image1.2 libsdl-ttf2.0-0 libglu1-mesa -qq | |
cd /home/vagrant/ | |
if [ ! -f df_34_11_linux.tar.bz2 ] | |
then | |
wget --quiet http://www.bay12games.com/dwarves/df_34_11_linux.tar.bz2 | |
fi | |
if [ ! -d df_linux ] | |
then | |
tar xfj df_34_11_linux.tar.bz2 | |
fi | |
sed 's/\[PRINT_MODE:2D\]/\[PRINT_MODE:TEXT\]/g' df_linux/data/init/init.txt > df_linux/data/init/init.txt | |
echo "script ran!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment