Skip to content

Commit cd208f6

Browse files
committed
fix: resolve jq dependency issue
fix
1 parent 93486cc commit cd208f6

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

lgsm/modules/core_modules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
1010

11-
modulesversion="v25.1.3"
11+
modulesversion="v25.1.4"
1212

1313
# Core
1414

lgsm/modules/update_jk2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn_update_compare() {
152152
# The location where the builds are checked and downloaded.
153153
remotelocation="github.com"
154154

155-
if [ "$(command -v jq 2> /dev/null)" ]; then
155+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
156156
fn_print_fail_nl "jq is not installed"
157157
fn_script_log_fail "jq is not installed"
158158
core_exit.sh

lgsm/modules/update_mc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fn_update_compare() {
167167
# The location where the builds are checked and downloaded.
168168
remotelocation="mojang.com"
169169

170-
if [ "$(command -v jq 2> /dev/null)" ]; then
170+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
171171
fn_print_fail_nl "jq is not installed"
172172
fn_script_log_fail "jq is not installed"
173173
core_exit.sh

lgsm/modules/update_mcb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ fn_update_compare() {
175175
# The location where the builds are checked and downloaded.
176176
remotelocation="minecraft.net"
177177

178-
if [ "$(command -v jq 2> /dev/null)" ]; then
178+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
179179
fn_print_fail_nl "jq is not installed"
180180
fn_script_log_fail "jq is not installed"
181181
core_exit.sh

lgsm/modules/update_mta.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ fn_update_compare() {
160160
# The location where the builds are checked and downloaded.
161161
remotelocation="linux.mtasa.com"
162162

163-
if [ "$(command -v jq 2> /dev/null)" ]; then
163+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
164164
fn_print_fail_nl "jq is not installed"
165165
fn_script_log_fail "jq is not installed"
166166
core_exit.sh

lgsm/modules/update_pmc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn_update_compare() {
177177
# The location where the builds are checked and downloaded.
178178
remotelocation="papermc.io"
179179

180-
if [ "$(command -v jq 2> /dev/null)" ]; then
180+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
181181
fn_print_fail_nl "jq is not installed"
182182
fn_script_log_fail "jq is not installed"
183183
core_exit.sh

lgsm/modules/update_ts3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ fi
171171
# The location where the builds are checked and downloaded.
172172
remotelocation="teamspeak.com"
173173

174-
if [ "$(command -v jq 2> /dev/null)" ]; then
174+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
175175
fn_print_fail_nl "jq is not installed"
176176
fn_script_log_fail "jq is not installed"
177177
core_exit.sh

lgsm/modules/update_ut99.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ fn_update_compare() {
153153
# The location where the builds are checked and downloaded.
154154
remotelocation="github.com"
155155

156-
if [ "$(command -v jq 2> /dev/null)" ]; then
156+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
157157
fn_print_fail_nl "jq is not installed"
158158
fn_script_log_fail "jq is not installed"
159159
core_exit.sh

lgsm/modules/update_vints.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ fn_update_compare() {
160160
# The location where the builds are checked and downloaded.
161161
remotelocation="vintagestory.at"
162162

163-
if [ "$(command -v jq 2> /dev/null)" ]; then
163+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
164164
fn_print_fail_nl "jq is not installed"
165165
fn_script_log_fail "jq is not installed"
166166
core_exit.sh

lgsm/modules/update_xnt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ fn_update_compare() {
160160
# The location where the builds are checked and downloaded.
161161
remotelocation="github.com"
162162

163-
if [ "$(command -v jq 2> /dev/null)" ]; then
163+
if [ ! "$(command -v jq 2> /dev/null)" ]; then
164164
fn_print_fail_nl "jq is not installed"
165165
fn_script_log_fail "jq is not installed"
166166
core_exit.sh

0 commit comments

Comments
 (0)