use a consistent name for the ikiwiki wrapper file
elsif ($config{rcs} eq 'monotone') {
$config{mtn_wrapper}=$config{srcdir}."_MTN/ikiwiki-netsync-hook";
}
+ elsif ($config{rcs} eq 'darcs') {
+ $config{darcs_wrapper}=$config{repository}."_darcs/ikiwiki-wrapper";
+ }
elsif ($config{rcs} eq 'bzr') {
# TODO
}
Example for a `_darcs/prefs/defaults` file in `$SRCDIR`:
- apply posthook /path/to/repository/_darcs/ikiwrapper
+ apply posthook /path/to/repository/_darcs/ikiwiki-wrapper
apply run-posthook
See also [[todo/darcs|todo/darcs]]
# set up master repo's apply hook and tell user to adjust it if desired
darcsdefaults="$repository/_darcs/prefs/defaults"
echo "Preconfiguring apply hook in $darcsdefaults - adjust as desired!"
- echo "apply posthook $repository/_darcs/ikiwrapper" >> "$darcsdefaults"
+ echo "apply posthook $repository/_darcs/ikiwiki-wrapper" >> "$darcsdefaults"
echo "apply run-posthook" >> "$darcsdefaults"
;;
*)