summaryrefslogtreecommitdiff
path: root/debian/postinst
blob: 76d8263575d1af6735cdf883baac2d7e14d37628 (plain)
  1. #!/bin/sh
  2. set -e
  3. #DEBHELPER#
  4. # Change this when some incompatible change is made that requires
  5. # rebuilding all wikis.
  6. firstcompat=1.1
  7. if [ "$1" = configure ] && \
  8. dpkg --compare-versions "$2" lt "$firstcompat"; then
  9. ikiwiki-mass-rebuild
  10. fi