instanceinfo.sh: Fixed Gab about-page.

This commit is contained in:
tastytea 2019-07-08 02:31:43 +02:00
parent c0a6c1cd7b
commit 86fc879010
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Print some basic info about fediverse instances.
# Version: 2019-07-04_1
# Version: 2019-07-08_1
if [[ -z "${1}" ]]; then
echo "usage: ${0} DOMAIN" >&2
@ -133,9 +133,10 @@ function main()
if [[ "${implementation}" == "Mastodon"
|| "${implementation}" == "Mastodon fork"
|| "${implementation}" == "Florence"
|| "${implementation}" == "Gab" ]]; then
|| "${implementation}" == "Florence" ]]; then
echo "Further info, maybe: https://${instance}/about/more"
elif [[ "${implementation}" == "Gab" ]]; then
echo "Further info, maybe: https://${instance}/about"
fi
else
echo "Could not detect type of server."