Docs & Organization
This commit is contained in:
13
tools/hthelp
Executable file
13
tools/hthelp
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
Reference in New Issue
Block a user