This commit is contained in:
2023-04-27 21:09:42 -05:00
parent 72edf0ec40
commit 31265a35cf
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='3.8.139-04232023'
VERS='3.8.140-04232023'
MMFOLDER="/opt/idssys/mediamanager"
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
@@ -12,7 +12,7 @@ IFS=,
UPDATE_SERVICES=(${UPDATESERVICES})
unset IFS
noheader=' check noup stop update-organizr '
noheader=' check noup update update-organizr '
logfile=${MMFOLDER}/logs/logfile
outputlogfile=${MMFOLDER}/logs/outputs.check.log

View File

@@ -26,7 +26,7 @@ fi
[ -f ${MMFOLDER}/vpninfo ] && source ${MMFOLDER}/vpninfo
if [ "${action}" != "check" ] && [ "${action}" != "update" ] && [ "${2}" != "noup" ]; then
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
if [ -f ${MMFOLDER}/update.available ]; then
dispup="${idsCL[Yellow]} - Update Available! (run '${idsCL[LightCyan]}mm update${idsCL[Yellow]}')${idsCL[Default]}"
else