diff --git a/defaults.inc b/defaults.inc index d954201..159de5e 100755 --- a/defaults.inc +++ b/defaults.inc @@ -41,7 +41,7 @@ MM_UPDATE_REPO['ombi']='Ombi-app' MM_UPDATE_REPO['radarr']='radarr' MM_UPDATE_REPO['lidarr']='lidarr' MM_UPDATE_REPO['jackett']='jackett' -MM_UPDATE_REPO['bazarr']='morpheus65535' +# MM_UPDATE_REPO['bazarr']='morpheus65535' declare -A MM_UPDATE_REPO_GREP MM_UPDATE_REPO_GREP['ombi']='linux-x64' diff --git a/mm-scripts.sh b/mm-scripts.sh index 2a827bc..031c241 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -737,6 +737,12 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then update-service) UPDATESERVICE ${2} ;; + update-allservices) + for usrvc in "${SERVICES_CHECK[@]}"; do + [ "${MM_UPDATE_REPO[${usrvc}]}" != "" ] && UPDATESERVICE ${usrvc} + done + ;; + clear) echo -e "${idsCL[LightCyan]}Clearing all mm.* files ${idsCL[Default]}" echo ;; @@ -747,7 +753,8 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then echo -e " ${idsCL[Yellow]}start${idsCL[Default]} --> Start services" echo -e " ${idsCL[Yellow]}stop${idsCL[Default]} --> Stop services" echo -e " ${idsCL[Yellow]}restart${idsCL[Default]} --> Restart services" - echo -e " ${idsCL[Yellow]}update-service ${idsCL[Default]} --> Update services" + echo -e " ${idsCL[Yellow]}update-allservices ${idsCL[Default]} --> Update all services" + echo -e " ${idsCL[Yellow]}update-service ${idsCL[Default]} --> Update specified service" echo echo -e " ${idsCL[Yellow]}status${idsCL[Default]} --> Check Status on VPN and Media Services" echo -e " ${idsCL[Yellow]}vpninfo${idsCL[Default]} --> Show VPN Info"