Commit | Line | Data |
---|---|---|
61c909e2 | 1 | #!/bin/sh |
2 | set -e | |
3 | #DEBHELPER# | |
4 | ||
35e72f56 | 5 | # Change this when some incompatible change is made that requires |
6 | # rebuilding all wikis. | |
3803266b | 7 | firstcompat=2.30 |
35e72f56 | 8 | |
dd7a3814 | 9 | if [ "$1" = configure ] && \ |
35e72f56 | 10 | dpkg --compare-versions "$2" lt "$firstcompat"; then |
dd7a3814 | 11 | ikiwiki-mass-rebuild |
c20c4066 | 12 | else |
e49ff966 | 13 | ikiwiki-mass-rebuild -refresh -wrappers |
61c909e2 | 14 | fi |