Update update scripts
authorTheSaminator <thesaminator@users.noreply.github.com>
Wed, 6 Jul 2022 21:09:57 +0000 (17:09 -0400)
committerTheSaminator <thesaminator@users.noreply.github.com>
Wed, 6 Jul 2022 21:09:57 +0000 (17:09 -0400)
patch
update

diff --git a/patch b/patch
index c41f4b2a462409f497655557142a603a60103582..5b85df8570c8e1a1d8e8554ed899157b6fc59ca5 100755 (executable)
--- a/patch
+++ b/patch
@@ -2,5 +2,4 @@
 
 screen -S starshipfights -X quit
 git pull
-/opt/gradle/gradle-7.1/bin/gradle shadowJar
-screen -dmS starshipfights /opt/gradle/gradle-7.1/bin/gradle runShadow
+/opt/gradle/gradle-7.1/bin/gradle shadowJar && screen -dmS starshipfights /opt/gradle/gradle-7.1/bin/gradle runShadow
diff --git a/update b/update
index e36c21e190df6d39b6530aee07b0e47c6a3373dd..766c3deaa790d9fce4a39ee205dbb708f4427243 100755 (executable)
--- a/update
+++ b/update
@@ -2,5 +2,4 @@
 
 screen -S starshipfights -X quit
 git pull
-/opt/gradle/gradle-7.1/bin/gradle clean shadowJar
-screen -dmS starshipfights /opt/gradle/gradle-7.1/bin/gradle runShadow
+/opt/gradle/gradle-7.1/bin/gradle clean shadowJar && screen -dmS starshipfights /opt/gradle/gradle-7.1/bin/gradle runShadow