This commit is contained in:
2023-04-12 19:15:35 -05:00
parent ef0cee3f8a
commit 34f527b956
2 changed files with 9 additions and 3 deletions

View File

@@ -745,7 +745,7 @@ SHOWSRVCUPDATES(){
echo -e "${idsCL[LightCyan]}Latest Update URLs Available${idsCL[Default]}"
DIVIDER
for usrvc in "${MM_UPDATE_REPO[@]}"; do
for usrvc in "${UPDATE_SERVICES[@]}"; do
beta_url=`curl -s https://api.github.com/repos/${MM_UPDATE_REPO[${usrvc}]}/${usrvc}/releases | jq -r '.[0].assets[].browser_download_url' | grep "${MM_UPDATE_REPO_GREP[${usrvc}]}" | cut -d '"' -f 4 | grep -i 'https://'`
latest_url=`curl -s https://api.github.com/repos/${MM_UPDATE_REPO[${usrvc}]}/${usrvc}/releases/latest | jq -r '.assets[].browser_download_url' | grep "${MM_UPDATE_REPO_GREP[${usrvc}]}" | cut -d '"' -f 4 | grep -i 'https://'`
echo -e "${idsCL[LightCyan]}${usrvc}${idsCL[Default]}:"