|
|
@@ -177,6 +177,12 @@ fn_update_compare() {
|
|
|
# The location where the builds are checked and downloaded.
|
|
|
remotelocation="papermc.io"
|
|
|
|
|
|
+if [ "$(command -v jq 2> /dev/null)" ]; then
|
|
|
+ fn_print_fail_nl "jq is not installed"
|
|
|
+ fn_script_log_fatal "jq is not installed"
|
|
|
+ core_exit.sh
|
|
|
+fi
|
|
|
+
|
|
|
if [ "${shortname}" == "pmc" ]; then
|
|
|
paperproject="paper"
|
|
|
elif [ "${shortname}" == "vpmc" ]; then
|