mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 09:28:20 +01:00
Update 30-nginx.sh
This commit is contained in:
@@ -35,16 +35,16 @@ sed -i "s|{{ .ssl }}|$(bashio::config 'ssl')|g" /etc/nginx/servers/ingress.conf
|
||||
######################
|
||||
|
||||
[ "$DEBUG" = "debug" ] && echo "Before var"
|
||||
LATEST_RELEASE=$(curl -f -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 \" |
|
||||
xargs) || \
|
||||
#LATEST_RELEASE=$(curl -f -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 \" |
|
||||
#xargs) || \
|
||||
LATEST_RELEASE=$(curl -f -s --retry 5 -L https://api.github.com/repos/wdaan/vuetorrent/releases |
|
||||
grep "browser_download_url.*zip" |
|
||||
head -n 1 |
|
||||
cut -d : -f 2,3 |
|
||||
tr -d \" |
|
||||
head -n 1 |
|
||||
xargs)
|
||||
|
||||
[ "$DEBUG" = "debug" ] && echo "url: $LATEST_RELEASE"
|
||||
|
||||
Reference in New Issue
Block a user