This repository has been archived by the owner on Jan 22, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partial port of vgstation-coders/vgstation13#7906.
- Loading branch information
1 parent
94a439f
commit d6c1aa5
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
#!/bin/sh | ||
set -e | ||
if [ -d "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin" ]; | ||
if [ -f "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/DreamMaker" ]; | ||
then | ||
echo "Using cached directory." | ||
else | ||
echo "Setting up BYOND." | ||
mkdir -p "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}" | ||
cd "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}" | ||
echo "Installing DreamMaker to $PWD" | ||
curl "http://www.byond.com/download/build/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip | ||
unzip byond.zip | ||
unzip -o byond.zip | ||
cd byond | ||
make here | ||
fi |