From a4c51efabb144201d8f1d2f0fd8092bec99c4595 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 24 Jun 2019 17:11:42 +0200 Subject: [PATCH] instanceinfo.sh: Added Florence detection. --- instanceinfo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/instanceinfo.sh b/instanceinfo.sh index 8d81ab5..798d8d6 100755 --- a/instanceinfo.sh +++ b/instanceinfo.sh @@ -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