File: postinst

package info (click to toggle)
ikiwiki 3.20141016.4
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 18,388 kB
  • ctags: 1,705
  • sloc: perl: 28,755; python: 428; sh: 185; makefile: 92
file content (14 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e
#DEBHELPER#

# Change this when some incompatible change is made that requires
# rebuilding all wikis.
firstcompat=3.20100424

if [ "$1" = configure ] && \
   dpkg --compare-versions "$2" lt "$firstcompat"; then
	ikiwiki-mass-rebuild
else
	ikiwiki-mass-rebuild -refresh -wrappers
fi