ikiwiki/debian/postinst

15 lines
294 B
Plaintext
Raw Normal View History

2006-03-24 22:36:37 +01:00
#!/bin/sh
set -e
#DEBHELPER#
# Change this when some incompatible change is made that requires
# rebuilding all wikis.
firstcompat=2.52
if [ "$1" = configure ] && \
dpkg --compare-versions "$2" lt "$firstcompat"; then
ikiwiki-mass-rebuild
else
ikiwiki-mass-rebuild -refresh -wrappers
2006-03-24 22:36:37 +01:00
fi