summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile1
-rw-r--r--cgitrc2
-rwxr-xr-xpandoc-filter3
3 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index ace7e5b..27098a0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@ RUN sed -i -e '/^ErrorLog/d' /etc/apache2/apache2.conf
COPY gitserver.conf /etc/apache2/sites-available/000-default.conf
COPY gitserver /usr/local/bin/gitserver
COPY addrepo /usr/local/bin/addrepo
+COPY pandoc-filter /usr/local/bin/pandoc-filter
COPY cgitrc /etc/
USER www-data
diff --git a/cgitrc b/cgitrc
index 69ff020..1f1e624 100644
--- a/cgitrc
+++ b/cgitrc
@@ -25,7 +25,7 @@ readme=:readme.txt
readme=:README
readme=:readme
-about-filter=pandoc
+about-filter=pandoc-filter
# must come last
scan-path=/data/git
diff --git a/pandoc-filter b/pandoc-filter
new file mode 100755
index 0000000..394daa4
--- /dev/null
+++ b/pandoc-filter
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec pandoc