File tree Expand file tree Collapse file tree 10 files changed +55
-1
lines changed Expand file tree Collapse file tree 10 files changed +55
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ for allowed_command in "${allowed_commands_array[@]}"; do
54
54
fi
55
55
done
56
56
57
- allowed_commands_array=(BACKUP DEBUG START)
57
+ allowed_commands_array=(BACKUP DEBUG DETAILS START UPDATE )
58
58
for allowed_command in " ${allowed_commands_array[@]} " ; do
59
59
if [ " ${allowed_command} " == " ${commandname} " ]; then
60
60
check_deps.sh
Original file line number Diff line number Diff line change @@ -152,6 +152,12 @@ fn_update_compare() {
152
152
# The location where the builds are checked and downloaded.
153
153
remotelocation=" github.com"
154
154
155
+ if [ " $( command -v jq 2> /dev/null) " ]; then
156
+ fn_print_fail_nl " jq is not installed"
157
+ fn_script_log_fatal " jq is not installed"
158
+ core_exit.sh
159
+ fi
160
+
155
161
if [ " ${firstcommandname} " == " INSTALL" ]; then
156
162
fn_update_remotebuild
157
163
fn_update_dl
Original file line number Diff line number Diff line change @@ -167,6 +167,12 @@ fn_update_compare() {
167
167
# The location where the builds are checked and downloaded.
168
168
remotelocation=" mojang.com"
169
169
170
+ if [ " $( command -v jq 2> /dev/null) " ]; then
171
+ fn_print_fail_nl " jq is not installed"
172
+ fn_script_log_fatal " jq is not installed"
173
+ core_exit.sh
174
+ fi
175
+
170
176
if [ " ${firstcommandname} " == " INSTALL" ]; then
171
177
fn_update_remotebuild
172
178
fn_update_dl
Original file line number Diff line number Diff line change @@ -175,6 +175,12 @@ fn_update_compare() {
175
175
# The location where the builds are checked and downloaded.
176
176
remotelocation=" minecraft.net"
177
177
178
+ if [ " $( command -v jq 2> /dev/null) " ]; then
179
+ fn_print_fail_nl " jq is not installed"
180
+ fn_script_log_fatal " jq is not installed"
181
+ core_exit.sh
182
+ fi
183
+
178
184
if [ " ${firstcommandname} " == " INSTALL" ]; then
179
185
fn_update_remotebuild
180
186
fn_update_dl
Original file line number Diff line number Diff line change @@ -160,6 +160,12 @@ fn_update_compare() {
160
160
# The location where the builds are checked and downloaded.
161
161
remotelocation=" linux.mtasa.com"
162
162
163
+ if [ " $( command -v jq 2> /dev/null) " ]; then
164
+ fn_print_fail_nl " jq is not installed"
165
+ fn_script_log_fatal " jq is not installed"
166
+ core_exit.sh
167
+ fi
168
+
163
169
if [ " ${firstcommandname} " == " INSTALL" ]; then
164
170
fn_update_remotebuild
165
171
fn_update_dl
Original file line number Diff line number Diff line change @@ -177,6 +177,12 @@ fn_update_compare() {
177
177
# The location where the builds are checked and downloaded.
178
178
remotelocation=" papermc.io"
179
179
180
+ if [ " $( command -v jq 2> /dev/null) " ]; then
181
+ fn_print_fail_nl " jq is not installed"
182
+ fn_script_log_fatal " jq is not installed"
183
+ core_exit.sh
184
+ fi
185
+
180
186
if [ " ${shortname} " == " pmc" ]; then
181
187
paperproject=" paper"
182
188
elif [ " ${shortname} " == " vpmc" ]; then
Original file line number Diff line number Diff line change 171
171
# The location where the builds are checked and downloaded.
172
172
remotelocation=" teamspeak.com"
173
173
174
+ if [ " $( command -v jq 2> /dev/null) " ]; then
175
+ fn_print_fail_nl " jq is not installed"
176
+ fn_script_log_fatal " jq is not installed"
177
+ core_exit.sh
178
+ fi
179
+
174
180
if [ " ${firstcommandname} " == " INSTALL" ]; then
175
181
fn_update_remotebuild
176
182
fn_update_dl
Original file line number Diff line number Diff line change @@ -153,6 +153,12 @@ fn_update_compare() {
153
153
# The location where the builds are checked and downloaded.
154
154
remotelocation=" github.com"
155
155
156
+ if [ " $( command -v jq 2> /dev/null) " ]; then
157
+ fn_print_fail_nl " jq is not installed"
158
+ fn_script_log_fatal " jq is not installed"
159
+ core_exit.sh
160
+ fi
161
+
156
162
if [ " ${firstcommandname} " == " INSTALL" ]; then
157
163
fn_update_remotebuild
158
164
fn_update_dl
Original file line number Diff line number Diff line change @@ -160,6 +160,12 @@ fn_update_compare() {
160
160
# The location where the builds are checked and downloaded.
161
161
remotelocation=" vintagestory.at"
162
162
163
+ if [ " $( command -v jq 2> /dev/null) " ]; then
164
+ fn_print_fail_nl " jq is not installed"
165
+ fn_script_log_fatal " jq is not installed"
166
+ core_exit.sh
167
+ fi
168
+
163
169
if [ " ${firstcommandname} " == " INSTALL" ]; then
164
170
fn_update_remotebuild
165
171
fn_update_dl
Original file line number Diff line number Diff line change @@ -160,6 +160,12 @@ fn_update_compare() {
160
160
# The location where the builds are checked and downloaded.
161
161
remotelocation=" github.com"
162
162
163
+ if [ " $( command -v jq 2> /dev/null) " ]; then
164
+ fn_print_fail_nl " jq is not installed"
165
+ fn_script_log_fatal " jq is not installed"
166
+ core_exit.sh
167
+ fi
168
+
163
169
if [ " ${firstcommandname} " == " INSTALL" ]; then
164
170
fn_update_remotebuild
165
171
fn_update_dl
You can’t perform that action at this time.
0 commit comments