update
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user