Update mm-scripts.sh
This commit is contained in:
@@ -862,7 +862,7 @@ UPDATESERVICE(){
|
||||
echo -e "${idsCL[White]}${msg}${spc} : ${idsCL[Green]}${!cver}${idsCL[Default]}"
|
||||
|
||||
if [ "${!cver}" != "${installed_ver}" ] || [ "${2}" == "force" ]; then
|
||||
echo -e " ${idsCL[LightCyan]} Update Not Needed, but force option was chosen${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightCyan]} Update Not Needed, but force option was chosen${idsCL[Default]}"
|
||||
|
||||
tmpfile=/tmp/${usrvc}-update.tar.gz
|
||||
bak=/opt/Backups/${usrvc}.opt.tgz
|
||||
@@ -932,7 +932,7 @@ UPDATESERVICE(){
|
||||
echo -e "${idsCL[Green]}${usrvc^} Service has been updated${idsCL[Default]}"
|
||||
|
||||
else
|
||||
echo -e " ${idsCL[LightCyan]} Update Not Needed ${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightCyan]} Update Not Needed ${idsCL[Default]}"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user