X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=systemfiles%2Fpost-update;fp=systemfiles%2Fpost-update;h=325d94fb203c991ab32fa4739ddfc5b1f64a0c56;hb=696ef8c48366f2c183423de22f060b2babab989f;hp=0000000000000000000000000000000000000000;hpb=cc3b1d2ef34f355723955ba88c6c55806e853832;p=config diff --git a/systemfiles/post-update b/systemfiles/post-update new file mode 100755 index 0000000..325d94f --- /dev/null +++ b/systemfiles/post-update @@ -0,0 +1,4 @@ +#!/bin/sh +LIFELOGDIR=/home/plom/lifelog +GIT_WORK_TREE=$LIFELOGDIR git checkout -f +find $LIFELOGDIR -name "*.rst" -exec sh -c 'rst2html $0 > ${0%.rst}.html' {} \;