blob: c6dbb74b089ec9bc5f881962037f0578e4a1ac94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
htmldir="/var/www/localhost/htdocs"
if ! command -v discount-theme >/dev/null 2>&1; then
echo "Cannot find discount-theme please install discount"
exit 1
fi
for i in html boot.ipxe; do
[ -L "$htmldir/$i" ] || ln -s "$(realpath $i)" "$htmldir"
done
discount-theme -t html/page.theme \
-o "$htmldir"/index.html README.md
|