fix check mastodon

This commit is contained in:
Quentin Gibeaux 2023-03-03 15:48:33 +01:00 committed by root
parent cd33f21a32
commit b26512ec39
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
# 2 : WARNING new version available
# 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-//')