cat -- "$mdfile"
}
+if [ "$(which git)" -a ! -f "$_DATA/.gitignore" ]; then
+ cat >"$_DATA/.gitignore" <<-EOF
+ users.db
+ serverkey
+ */#attachments/
+ */#cache/
+ */#page.lock
+ */#page.*.cache
+ */#page.*.cache.*
+ EOF
+ git init "$_DATA"
+ git -C "$_DATA" add .gitignore
+ git -C "$_DATA" commit -m 'initialization' -- .gitignore
+fi 1>&2
+
for handler in "$_EXEC"/handlers/*; do
. "$handler" && break
done