Retry curl

This commit is contained in:
Alexandre
2022-02-21 23:22:24 +01:00
committed by GitHub
parent ea9d6ffa63
commit 7695bdc7f8

View File

@@ -35,7 +35,7 @@ sed -i "s|{{ .ssl }}|$(bashio::config 'ssl')|g" /etc/nginx/servers/ingress.conf
######################
[ "$DEBUG" = "debug" ] && echo "Before var"
LATEST_RELEASE=$(curl -s -L https://api.github.com/repos/wdaan/vuetorrent/releases/latest |
LATEST_RELEASE=$(curl -s --retry 5 -L https://api.github.com/repos/wdaan/vuetorrent/releases/latest |
grep "browser_download_url.*zip" |
cut -d : -f 2,3 |
tr -d \" |