From 096b42049154e071aef482d89d36de4b4356c02c Mon Sep 17 00:00:00 2001 From: Frisasky Date: Tue, 26 Nov 2019 17:41:16 +0800 Subject: [PATCH] Update update_jediknight2.sh --- lgsm/functions/update_jediknight2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/update_jediknight2.sh b/lgsm/functions/update_jediknight2.sh index 7d8af8e32..ea080539d 100644 --- a/lgsm/functions/update_jediknight2.sh +++ b/lgsm/functions/update_jediknight2.sh @@ -43,7 +43,7 @@ fn_update_jk2_localbuild(){ fn_update_jk2_remotebuild(){ # Gets remote build info. - remotebuild=$(${curlpath}-s "https://api.github.com/repos/mvdevs/jk2mv/releases/latest"| grep dedicated.zip | tail -1 | awk -F"/" '{ print $8 }') + remotebuild=$(curl -s "https://api.github.com/repos/mvdevs/jk2mv/releases/latest"| grep dedicated.zip | tail -1 | awk -F"/" '{ print $8 }') if [ "${installer}" != "1" ]; then fn_print_dots "Checking for update: ${remotelocation}: checking remote build" # Checks if remotebuild variable has been set.