* Add -refresh option to ikiwiki-mass-rebuild and use that on upgrades that
[ikiwiki.git] / debian / postinst
index 9135af7548285142c401de312895ee0f1ebda58d..72b457716af6434e74b45994bc4c23d42b647df6 100755 (executable)
@@ -9,4 +9,6 @@ firstcompat=1.4
 if [ "$1" = configure ] && \
    dpkg --compare-versions "$2" lt "$firstcompat"; then
        ikiwiki-mass-rebuild
+else
+       ikiwiki-mass-rebuild -refresh
 fi