Просмотр исходного кода

Merge branch 'hotfix/v25.1.4' into develop

Daniel Gibbs 1 год назад
Родитель
Сommit
0c6c058099

+ 1 - 1
lgsm/modules/core_modules.sh

@@ -8,7 +8,7 @@
 
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
-modulesversion="v25.1.3"
+modulesversion="v25.1.4"
 
 # Core
 

+ 1 - 1
lgsm/modules/update_jk2.sh

@@ -152,7 +152,7 @@ fn_update_compare() {
 # The location where the builds are checked and downloaded.
 remotelocation="github.com"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
lgsm/modules/update_mc.sh

@@ -167,7 +167,7 @@ fn_update_compare() {
 # The location where the builds are checked and downloaded.
 remotelocation="mojang.com"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
lgsm/modules/update_mcb.sh

@@ -175,7 +175,7 @@ fn_update_compare() {
 # The location where the builds are checked and downloaded.
 remotelocation="minecraft.net"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
lgsm/modules/update_mta.sh

@@ -160,7 +160,7 @@ fn_update_compare() {
 # The location where the builds are checked and downloaded.
 remotelocation="linux.mtasa.com"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
lgsm/modules/update_pmc.sh

@@ -177,7 +177,7 @@ fn_update_compare() {
 # The location where the builds are checked and downloaded.
 remotelocation="papermc.io"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
lgsm/modules/update_ts3.sh

@@ -171,7 +171,7 @@ fi
 # The location where the builds are checked and downloaded.
 remotelocation="teamspeak.com"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
lgsm/modules/update_ut99.sh

@@ -153,7 +153,7 @@ fn_update_compare() {
 # The location where the builds are checked and downloaded.
 remotelocation="github.com"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
lgsm/modules/update_vints.sh

@@ -160,7 +160,7 @@ fn_update_compare() {
 # The location where the builds are checked and downloaded.
 remotelocation="vintagestory.at"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
lgsm/modules/update_xnt.sh

@@ -160,7 +160,7 @@ fn_update_compare() {
 # The location where the builds are checked and downloaded.
 remotelocation="github.com"
 
-if [ "$(command -v jq 2> /dev/null)" ]; then
+if [ ! "$(command -v jq 2> /dev/null)" ]; then
 	fn_print_fail_nl "jq is not installed"
 	fn_script_log_fail "jq is not installed"
 	core_exit.sh

+ 1 - 1
linuxgsm.sh

@@ -24,7 +24,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="v25.1.3"
+version="v25.1.4"
 shortname="core"
 gameservername="core"
 commandname="CORE"