Ver Fonte

fix resolving update not running on install (#2893)

Daniel Gibbs há 6 anos atrás
pai
commit
95ce894f10

+ 4 - 1
lgsm/functions/update_factorio.sh

@@ -170,4 +170,7 @@ else
 	fn_update_factorio_remotebuild
 	fn_update_factorio_compare
 fi
-core_exit.sh
+
+if [ "${commandname}" != "INSTALL" ]; then
+	core_exit.sh
+fi	

+ 4 - 1
lgsm/functions/update_minecraft.sh

@@ -218,4 +218,7 @@ else
 	fn_update_minecraft_remotebuild
 	fn_update_minecraft_compare
 fi
-core_exit.sh
+
+if [ "${commandname}" != "INSTALL" ]; then
+	core_exit.sh
+fi	

+ 4 - 1
lgsm/functions/update_minecraft_bedrock.sh

@@ -178,4 +178,7 @@ else
 	fn_update_minecraft_remotebuild
 	fn_update_minecraft_compare
 fi
-core_exit.sh
+
+if [ "${commandname}" != "INSTALL" ]; then
+	core_exit.sh
+fi	

+ 4 - 1
lgsm/functions/update_mta.sh

@@ -209,4 +209,7 @@ else
 	fn_update_mta_remotebuild
 	fn_update_mta_compare
 fi
-core_exit.sh
+
+if [ "${commandname}" != "INSTALL" ]; then
+	core_exit.sh
+fi

+ 4 - 1
lgsm/functions/update_mumble.sh

@@ -148,4 +148,7 @@ else
 	fn_update_mumble_remotebuild
 	fn_update_mumble_compare
 fi
-core_exit.sh
+
+if [ "${commandname}" != "INSTALL" ]; then
+	core_exit.sh
+fi	

+ 4 - 1
lgsm/functions/update_steamcmd.sh

@@ -246,4 +246,7 @@ else
 	fn_update_steamcmd_remotebuild
 	fn_update_steamcmd_compare
 fi
-core_exit.sh
+
+if [ "${commandname}" != "INSTALL" ]; then
+	core_exit.sh
+fi	

+ 4 - 1
lgsm/functions/update_ts3.sh

@@ -219,4 +219,7 @@ else
 	fn_update_ts3_remotebuild
 	fn_update_ts3_compare
 fi
-core_exit.sh
+
+if [ "${commandname}" != "INSTALL" ]; then
+	core_exit.sh
+fi