fix check mastodon
This commit is contained in:
parent
cd33f21a32
commit
b26512ec39
@ -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 -L --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' | sed -e 's/^v//g')
|
||||||
|
|
||||||
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