* Fix ikiwiki-mass-rebuild to work in the way the postinst uses it.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 19 Aug 2006 02:58:47 +0000 (02:58 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 19 Aug 2006 02:58:47 +0000 (02:58 +0000)
debian/changelog
doc/ikiwiki-mass-rebuild.mdwn
ikiwiki-mass-rebuild

index 7ea833e54c30a28b2cebc72a56604c809c5ff44e..779147086d01d58b1192a8caaf25bd34cefb144e 100644 (file)
@@ -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
 
index a9a7f4adb8d8b2f45e111a06d8cd67c3d8cbff3a..e5474dd260860532f1d91d95e1e243bf739b9985 100644 (file)
@@ -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
 
index dac54cb8ee5d2fa00864543d4a5cb29effefe9a9..7ec41e98f7734db9b132e139c475ac44e869a6f7 100755 (executable)
@@ -1,10 +1,7 @@
 #!/bin/sh
 set -e
 
-action=""
-if [ -n "$1" ]; then
-       action="$1"
-fi
+action="$@"
 
 wikilist=/etc/ikiwiki/wikilist