From 01d6f01ee402970a18eea1908ea154276e8ee377 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 29 Apr 2023 19:55:40 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- mm-scripts.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/defaults.inc b/defaults.inc index 2ef2b0f..76f0786 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='3.8.150-04232023' +VERS='3.8.154-04232023' MMFOLDER="/opt/idssys/mediamanager" MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) diff --git a/mm-scripts.sh b/mm-scripts.sh index 203d8df..2110e0c 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -969,11 +969,11 @@ UPDATESERVICE(){ echo "$(date) - Updating Service (${usrvc}) : Completed" >> $logfile echo -e "${idsCL[Green]}${usrvc^} Service has been updated${idsCL[Default]}" + else + echo -e "${idsCL[Red]}Not currently available to update${idsCL[Default]}" + fi - else - echo -e "${idsCL[Red]}Not currently available to update${idsCL[Default]}" - fi else