Update mm-scripts.sh

This commit is contained in:
2025-11-22 21:08:24 -06:00
parent 55e7fe8177
commit 2e44f86e4a

View File

@@ -967,7 +967,7 @@ UPDATESERVICE(){
[ ! -d /opt/${usrvc^} ] && [[ " ${SERVICES_CHECK[*]} " =~ " ${usrvc} " ]] && INSTALLSRVC=true
if [ "${INSTALLSRVC}" == "true" ] || [ "${!cver}" != "${latest_ver}" ] || [ "${3}" == "-f" ]; then
[ "${3}" == "-f" ] && echo -e "${idsCL[LightCyan]}Update Not Needed, forcing anyway${idsCL[Default]}" || echo -e "${idsCL[Green]}Update Available (${latest_ver} > ${!cver})${idsCL[Default]}"
[ "${3}" == "-f" ] && echo -e "${idsCL[LightCyan]}Update Not Needed, forcing anyway${idsCL[Default]}" || echo -e "${idsCL[Green]}Update Available (${!cver} > ${latest_ver})${idsCL[Default]}"
# rm -f ${LOGFOLDER}/update.${usrvc}
touch ${LOGFOLDER}/update.${usrvc}