tilde-oauth/tools/hthelp

14 lines
214 B
Plaintext
Raw Normal View History

2022-06-28 16:44:57 +00:00
#!/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