Update mm-scripts.sh
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user