diff --git a/functions/core_dl.sh b/functions/core_dl.sh index 597a97150..8275d5770 100644 --- a/functions/core_dl.sh +++ b/functions/core_dl.sh @@ -20,7 +20,7 @@ lgsm_version="050216" fn_dl_md5(){ # Runs MD5 Check if available -if [ -n "${md5}" ]; then +if [ -n "${md5}" ]||[ "${md5}" == "nomd5" ]; then echo -ne "verifying ${filename} with MD5..." sleep 1 local md5sumcmd=$(md5sum "${filedir}/${filename}"|awk '{print $1;}') @@ -181,7 +181,7 @@ filename="${github_file_url_name}" executecmd="${4:-0}" run="${5:-0}" force="${6:-0}" -md5="${7:-0}" +md5="${7}" fn_fetch_file "${fileurl}" "${filedir}" "${filename}" "${executecmd}" "${run}" "${force}" "${md5}" } diff --git a/functions/monitor_gsquery.sh b/functions/monitor_gsquery.sh index c714d64ee..5fa63b32e 100644 --- a/functions/monitor_gsquery.sh +++ b/functions/monitor_gsquery.sh @@ -11,7 +11,7 @@ local modulename="Monitor" # Downloads gsquery.py if missing if [ ! -f "${functionsdir}/gsquery.py" ]; then - fn_fetch_file_github "functions" "gsquery.py" "${functionsdir}" "executecmd" "norun" "noforce" + fn_fetch_file_github "functions" "gsquery.py" "${functionsdir}" "executecmd" "norun" "noforce" "nomd5" fi info_config.sh