progress: New plugin to generate progress bars (willu)
[ikiwiki] / debian / postinst
1 #!/bin/sh
2 set -e
3 #DEBHELPER#
4
5 # Change this when some incompatible change is made that requires
6 # rebuilding all wikis.
7 firstcompat=2.52
8
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