X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/dd7a38147179a59bff9dffd824b265862aa1a59e..7d11e73f5737852d0fc9712741a6ef6561e5709e:/debian/postinst

diff --git a/debian/postinst b/debian/postinst
index 76d826357..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.1
+firstcompat=2.52
 
 if [ "$1" = configure ] && \
    dpkg --compare-versions "$2" lt "$firstcompat"; then
 	ikiwiki-mass-rebuild
+else
+	ikiwiki-mass-rebuild -refresh -wrappers
 fi