summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-19 02:58:47 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-19 02:58:47 +0000
commitccd3a7e2c2fb5307b84abc79e7d0b897621e2850 (patch)
treea929a1e05347c2e31d139b756b2bcc3f23572498
parentbcf135038a7fca4904734c03080d8a889b420a34 (diff)
* Fix ikiwiki-mass-rebuild to work in the way the postinst uses it.
-rw-r--r--debian/changelog3
-rw-r--r--doc/ikiwiki-mass-rebuild.mdwn5
-rwxr-xr-xikiwiki-mass-rebuild5
3 files changed, 4 insertions, 9 deletions
diff --git a/debian/changelog b/debian/changelog
index 7ea833e54..779147086 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,9 @@ ikiwiki (1.21) UNRELEASED; urgency=low
will now work.
* Add a map plugin contributed by Alessandro Dotti Contra.
* Add otl format plugin, which handles files as created by vimoutliner.
+ * Fix ikiwiki-mass-rebuild to work in the way the postinst uses it.
- -- Joey Hess <joeyh@debian.org> Fri, 18 Aug 2006 17:27:38 -0400
+ -- Joey Hess <joeyh@debian.org> Fri, 18 Aug 2006 22:54:08 -0400
ikiwiki (1.20) unstable; urgency=low
diff --git a/doc/ikiwiki-mass-rebuild.mdwn b/doc/ikiwiki-mass-rebuild.mdwn
index a9a7f4adb..e5474dd26 100644
--- a/doc/ikiwiki-mass-rebuild.mdwn
+++ b/doc/ikiwiki-mass-rebuild.mdwn
@@ -16,10 +16,7 @@ user /path/to/wiki
# OPTIONS
-* -refresh
-
- Rather than rebuilding all the wikis, just build any changed pages
- (including pages inherited from the basewiki).
+All options are passed on to ikiwiki.
# AUTHOR
diff --git a/ikiwiki-mass-rebuild b/ikiwiki-mass-rebuild
index dac54cb8e..7ec41e98f 100755
--- a/ikiwiki-mass-rebuild
+++ b/ikiwiki-mass-rebuild
@@ -1,10 +1,7 @@
#!/bin/sh
set -e
-action=""
-if [ -n "$1" ]; then
- action="$1"
-fi
+action="$@"
wikilist=/etc/ikiwiki/wikilist