ikiwiki/debian/postinst

15 lines
300 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.
2009-10-05 22:51:33 +02:00
firstcompat=3.14159266
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