From aadd464335ec671e1c46ac1fd2a87a33fe20a8fe Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 10 Mar 2017 10:01:48 +0100 Subject: [PATCH] fix formatting --- start.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/start.sh b/start.sh index 3f6b892..8b0b799 100755 --- a/start.sh +++ b/start.sh @@ -1,16 +1,16 @@ #!/bin/bash -# check if the spigot is alredy built +# check if spigot is alredy built cd /usr/games/mcserv if ls /usr/games/mcserv/spigot*.jar &> /dev/null then -spigot_filename="$(ls -1 /usr/games/mcserv/spigot*.jar)" -echo "eula=true" > /usr/games/mcserv/eula.txt -java -Xms512M -Xmx1G -XX:MaxPermSize=128M -XX:+UseConcMarkSweepGC -jar "${spigot_filename}" + spigot_filename="$(ls -1 /usr/games/mcserv/spigot*.jar)" + echo "eula=true" > /usr/games/mcserv/eula.txt + java -Xms512M -Xmx1G -XX:MaxPermSize=128M -XX:+UseConcMarkSweepGC -jar "${spigot_filename}" else -echo "spigot not built yet. rebuilding it" -wget -O /usr/games/mcserv/BuildTools.jar "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" -java -jar BuildTools.jar + echo "spigot not built yet. rebuilding it" + wget -O /usr/games/mcserv/BuildTools.jar "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" + java -jar BuildTools.jar fi