gtnh-server-docker/download.sh

12 lines
285 B
Bash
Executable File

#!/bin/sh
if [ ! -f GT_New_Horizons_2.6.0_Server_Java_17-21.zip ]; then
wget http://downloads.gtnewhorizons.com/ServerPacks/GT_New_Horizons_2.6.0_Server_Java_17-21.zip
fi
if [ ! -d app ]; then
mkdir app
cd app || exit
unzip ../GT_New_Horizons_2.6.0_Server_Java_17-21.zip
cd ..
fi