mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Revert
This commit is contained in:
@@ -43,10 +43,9 @@ xargs) || LATEST_RELEASE=$(curl -f -s --retry 5 -L https://api.github.com/repos/
|
|||||||
grep "browser_download_url.*zip" |
|
grep "browser_download_url.*zip" |
|
||||||
cut -d : -f 2,3 |
|
cut -d : -f 2,3 |
|
||||||
tr -d \" |
|
tr -d \" |
|
||||||
|
head -n 1 |
|
||||||
xargs)
|
xargs)
|
||||||
|
|
||||||
LATEST_RELEASE="$(echo "${LATEST_RELEASE}" | head -1)"
|
|
||||||
|
|
||||||
[ "$DEBUG" = "debug" ] && echo "url: $LATEST_RELEASE"
|
[ "$DEBUG" = "debug" ] && echo "url: $LATEST_RELEASE"
|
||||||
|
|
||||||
[ "$DEBUG" = "debug" ] && echo "Before curl"
|
[ "$DEBUG" = "debug" ] && echo "Before curl"
|
||||||
|
|||||||
Reference in New Issue
Block a user