#!/bin/bash
DOCE=/usr/bin/amfora
DOC=/var/gemini/docs/help.gmi
if [ ! -f "$DOC" ]; then
	echo "Helpdoc missing!"
	exit 1
fi

if [ -f "$DOCE" ]; then
	$DOCE "gemini.hackers.town/docs/help.gmi"
else
	$EDITOR $DOC
fi
