Update mm-scripts.sh

This commit is contained in:
2023-02-25 17:38:47 -06:00
parent 690e2385de
commit 3368c4c5e6

View File

@@ -16,13 +16,12 @@ source /opt/idssys/mediamanager/settings.conf
source /opt/idssys/mediamanager/defaults.inc
if [ "${action}" != "check" ] && [ "${action}" != "update" ] && [ "${2}" != "noup" ]; then
echo " ${idsCL[LightGreen]}<-- Update Available! (run mm update)${idsCL[Default]}"
if [ -f ${MMFOLDER}/update.available ]; then
dispup=""
dispup="" ${idsCL[LightGreen]}<-- Update Available! (run mm update)${idsCL[Default]}""
else
dispup=""
fi
echo -e "${idsCL[LightGreen]} MediaManager ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
echo -e "${idsCL[LightGreen]} MediaManager ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${dispup}${idsCL[Default]}"
DIVIDER . lightGreen
fi