]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - debian/postinst
web commit by http://ethan.betacantrips.com/: saw this and didn't understand
[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=2.1
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