X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/29507e94a46d0f2006671d31ac6812ebd0715cee..efc1e4a3690a55b7b07d407ffff551e638f59151:/debian/postinst

diff --git a/debian/postinst b/debian/postinst
index 9135af754..0a836a0b2 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -4,9 +4,11 @@ set -e
 
 # Change this when some incompatible change is made that requires
 # rebuilding all wikis.
-firstcompat=1.4
+firstcompat=2.52
 
 if [ "$1" = configure ] && \
    dpkg --compare-versions "$2" lt "$firstcompat"; then
 	ikiwiki-mass-rebuild
+else
+	ikiwiki-mass-rebuild -refresh -wrappers
 fi