update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='3.8.208-04292023'
|
VERS='3.8.209-05022023'
|
||||||
|
|
||||||
MMFOLDER="/opt/idssys/mediamanager"
|
MMFOLDER="/opt/idssys/mediamanager"
|
||||||
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
||||||
@@ -58,8 +58,8 @@ MM_SERVICE_CFG['jackett']='/home/user/.config/Jackett'
|
|||||||
MM_SERVICE_CFG['bazarr']=''
|
MM_SERVICE_CFG['bazarr']=''
|
||||||
|
|
||||||
declare -A MM_SERVICE_APP
|
declare -A MM_SERVICE_APP
|
||||||
MM_SERVICE_CFG['sonarr']='/usr/lib/sonarr/bin'
|
MM_SERVICE_APP['sonarr']='/usr/lib/sonarr/bin'
|
||||||
MM_SERVICE_CFG['snap.tautulli.tautulli']='/snap/tautulli/current'
|
MM_SERVICE_APP['snap.tautulli.tautulli']='/snap/tautulli/current'
|
||||||
|
|
||||||
declare -A MM_UPDATE_REPO
|
declare -A MM_UPDATE_REPO
|
||||||
#MM_UPDATE_REPO['ombi']='Ombi-app'
|
#MM_UPDATE_REPO['ombi']='Ombi-app'
|
||||||
|
|||||||
@@ -875,7 +875,7 @@ UPDATESERVICE(){
|
|||||||
cver=${usrvc}_VER
|
cver=${usrvc}_VER
|
||||||
|
|
||||||
if [ "${!cver}" != "${latest_ver}" ] || [ "${2}" == "force" ]; then
|
if [ "${!cver}" != "${latest_ver}" ] || [ "${2}" == "force" ]; then
|
||||||
[ "${2}" == "force" ] && echo -e "${idsCL[LightCyan]} Update Not Needed, but forcing anyway${idsCL[Default]}" || echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
[ "${2}" == "force" ] && echo -e "${idsCL[LightCyan]}Update Not Needed, but forcing anyway${idsCL[Default]}" || echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||||
# rm -f ${MMFOLDER}/logs/update.${usrvc}
|
# rm -f ${MMFOLDER}/logs/update.${usrvc}
|
||||||
touch ${MMFOLDER}/logs/update.${usrvc}
|
touch ${MMFOLDER}/logs/update.${usrvc}
|
||||||
|
|
||||||
@@ -976,7 +976,7 @@ SERVICEBACKUP(){
|
|||||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||||
}
|
}
|
||||||
SERVICEBACKUPSTART(){
|
SERVICEBACKUPSTART(){
|
||||||
msg="Starting service back up"; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
msg="Starting Service"; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
|
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
|
||||||
OUT=$(ip link | grep "$VPN_INTERFACE") >/dev/null 2>&1
|
OUT=$(ip link | grep "$VPN_INTERFACE") >/dev/null 2>&1
|
||||||
if [[ " ${SERVICES_CHECK[*]} " =~ " ${usrvc} " ]] && [ ! -f ${MMFOLDER}/mm.noservices ] && [ ! `find /opt/idssys/mediamanager/ -name 'mm.plexmount.fail*'` ]; then
|
if [[ " ${SERVICES_CHECK[*]} " =~ " ${usrvc} " ]] && [ ! -f ${MMFOLDER}/mm.noservices ] && [ ! `find /opt/idssys/mediamanager/ -name 'mm.plexmount.fail*'` ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user