From 4a38e2fd1a194bd45e41f4a24c14aca978f82fb1 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 18 May 2023 22:16:25 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 609f96a..2e54fa2 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -22,7 +22,7 @@ fi [ -f ${TMPFOLDER}/vpninfo ] && source ${TMPFOLDER}/vpninfo -if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then +if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] || ( "${1}" == "update" ] && [ -z ${2+x} ]); then if [ -f ${TMPFOLDER}/update.available ]; then dispup="${idsCL[Yellow]} - Update Available! (run '${idsCL[LightCyan]}mm update${idsCL[Yellow]}')${idsCL[Default]}" else @@ -1399,6 +1399,7 @@ USAGE(){ echo echo srvcsavail="$(join_by , ${MM_SERVICES})" + echo "'${srvcsavail}'" if [ "${srvcsavail}" != "" ]; then srvcscheck=${SERVICESCHECK//,/, } srvcscheck=${srvcscheck/snap.tautulli.tautulli/tautulli}