summaryrefslogtreecommitdiffstats
path: root/build-website
diff options
context:
space:
mode:
Diffstat (limited to 'build-website')
-rwxr-xr-xbuild-website11
1 files changed, 10 insertions, 1 deletions
diff --git a/build-website b/build-website
index f5001d0..b7d0928 100755
--- a/build-website
+++ b/build-website
@@ -25,4 +25,13 @@ if ! "${git_dir}/bin/sanity-check-website" ; then
fi
fi
-ikiwiki -setup ikiwiki.setup -refresh "$@"
+# If I knew Ikiwiki better I'd probably figure out how to just make it
+# keep the misc/*.html files as-is instead of this hack.
+fixup_14962_workaround() {
+ mkdir -p config/chroot_local-includes/usr/share/doc/tails/website/misc
+ rm -f config/chroot_local-includes/usr/share/doc/tails/website/misc/*
+ cp wiki/src/misc/*.html \
+ config/chroot_local-includes/usr/share/doc/tails/website/misc
+}
+
+ikiwiki -setup ikiwiki.setup -refresh "$@" && fixup_14962_workaround