update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERS='3.8.161-04232023'
|
||||
VERS='3.8.162-04232023'
|
||||
|
||||
MMFOLDER="/opt/idssys/mediamanager"
|
||||
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
||||
|
||||
@@ -862,6 +862,8 @@ 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]}"
|
||||
|
||||
tmpfile=/tmp/${usrvc}-update.tar.gz
|
||||
bak=/opt/Backups/${usrvc}.opt.tgz
|
||||
bakcfg=/opt/Backups/${usrvc}.cfg.tgz
|
||||
|
||||
Reference in New Issue
Block a user