Update mm-scripts.sh
This commit is contained in:
@@ -745,10 +745,10 @@ SHOWSRVCUPDATES(){
|
||||
echo -e "${idsCL[LightCyan]}Latest Update URLs Available${idsCL[Default]}"
|
||||
DIVIDER
|
||||
|
||||
for srvc in "${MM_UPDATE_REPO[@]}"; do
|
||||
for usrvc in "${MM_UPDATE_REPO[@]}"; 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]}${srvc}${idsCL[Default]}:"
|
||||
echo -e "${idsCL[LightCyan]}${usrvc}${idsCL[Default]}:"
|
||||
echo -e "${idsCL[LightGreen]}Stable Release : ${idsCL[LightCyan]}${latest_url}${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightGreen]}Beta Release : ${idsCL[LightCyan]}${beta_url}${idsCL[Default]}"
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user