]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - debian/postinst
Todo suggestion: support pre-pended YAML metadata blocks
[git.ikiwiki.info.git] / debian / postinst
1 #!/bin/sh
2 set -e
3 #DEBHELPER#
5 # Change this when some incompatible change is made that requires
6 # rebuilding all wikis.
7 firstcompat=3.20100424
9 if [ "$1" = configure ] && \
10    dpkg --compare-versions "$2" lt "$firstcompat"; then
11         ikiwiki-mass-rebuild
12 else
13         ikiwiki-mass-rebuild --refresh --wrappers
14 fi