aboutsummaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-27 19:04:46 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-27 19:04:46 +0000
commitc20c4066311341e332dc425023f856b6414de9ae (patch)
treed6086c3d4e4bc282cbffab5689b160af8a49829f /debian/postinst
parent0cc3b4353093918a5bab7d3e4d839fcd4c2ef922 (diff)
downloadikiwiki-c20c4066311341e332dc425023f856b6414de9ae.tar
ikiwiki-c20c4066311341e332dc425023f856b6414de9ae.tar.gz
* Add -refresh option to ikiwiki-mass-rebuild and use that on upgrades that
do not need a full rebuild, in order to update any basewiki pages.
Diffstat (limited to 'debian/postinst')
-rwxr-xr-xdebian/postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index 9135af754..72b457716 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -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