This commit is contained in:
2023-03-25 15:44:49 -05:00
parent 8d394b52de
commit b0e987ae70
2 changed files with 2 additions and 2 deletions

View File

@@ -617,7 +617,7 @@ UPDATESERVICE(){
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
if [ "$BETA_SERVICES" == *"${usrvc}"* ]; then
if [[ $BETA_SERVICES == *${usrvc}* ]]; then
latest_release_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://'`
echo "$(date) - Updating Service (${usrvc}) : BETA UPDATEURL = ${latest_release_url}" >> $logfile
beta="BETA "