14 lines
214 B
Plaintext
14 lines
214 B
Plaintext
|
#!/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
|