fix check update : add -L to curl
This commit is contained in:
parent
814f8dcf33
commit
1deaa51956
@ -9,7 +9,7 @@
|
|||||||
# 2 : WARNING new version available
|
# 2 : WARNING new version available
|
||||||
# 3 : UNKNOWN github or local repo not probable
|
# 3 : UNKNOWN github or local repo not probable
|
||||||
|
|
||||||
LAST_VERSION=$(curl --silent https://api.github.com/repos/tootsuite/mastodon/releases | jq -r '.[0].name')
|
LAST_VERSION=$(curl -L --silent https://api.github.com/repos/tootsuite/mastodon/releases | jq -r '.[0].name')
|
||||||
|
|
||||||
INSTALLED_VERSION=$(git -C /home/mastodon/live/ branch | grep ^* | sed -e 's/.*live-//')
|
INSTALLED_VERSION=$(git -C /home/mastodon/live/ branch | grep ^* | sed -e 's/.*live-//')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user