instanceinfo.sh: Added Florence detection.

This commit is contained in:
tastytea 2019-06-24 17:11:42 +02:00
parent 8d13eaab79
commit a4c51efabb
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ function main()
if grep -Eq '"is_(pro|verified)"' <<<"${json}"; then
implementation="Gab"
elif grep -Eq '"version":"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\."' <<<"${json}"; then
implementation="Florence"
elif grep -Eq '"version":"[0-9]+\.[0-9]+\.[0-9]+"' <<<"${json}"; then
implementation="Mastodon"
fi