From 798e897a81c8bac711628eedf2cf6770be232baa Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 18 May 2023 22:12:59 -0500 Subject: [PATCH] update --- mm-scripts.sh | 1 - run.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index a585b19..609f96a 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -1399,7 +1399,6 @@ USAGE(){ echo echo srvcsavail="$(join_by , ${MM_SERVICES})" - echo "'${srvcsavail}'" if [ "${srvcsavail}" != "" ]; then srvcscheck=${SERVICESCHECK//,/, } srvcscheck=${srvcscheck/snap.tautulli.tautulli/tautulli} diff --git a/run.sh b/run.sh index 9de5dce..c25ba35 100755 --- a/run.sh +++ b/run.sh @@ -20,7 +20,7 @@ if ([ "${1}" == "check" ] && [ "$(date +%M)" == "15" ]) || [ "${1}" == "" ]; the MMUPDATECHECK fi -if [ "${1}" == "update" ] || [ "${1}" == "setup" ]; then +if ([ "${1}" == "update" ] && [ ! -z ${2+x} ]) || [ "${1}" == "setup" ]; then if curl -m 5 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then if [ "${2}" != "qq" ]; then echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"