X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8682daad58023fd6297945d602d2044f3e8f063f..17b3d73f6e65d6a754633902b0dd4716d53b03a9:/IkiWiki/Setup/Automator.pm?ds=inline diff --git a/IkiWiki/Setup/Automator.pm b/IkiWiki/Setup/Automator.pm index b63c8e245..5111541e4 100644 --- a/IkiWiki/Setup/Automator.pm +++ b/IkiWiki/Setup/Automator.pm @@ -58,6 +58,9 @@ sub import (@) { 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 } @@ -117,10 +120,11 @@ sub import (@) { for (;;) { print "Choose a password: "; chomp($password=); + print "\n"; print "Confirm password: "; chomp($password2=); - last if $password2 ne $password; + last if $password2 eq $password; print "Password mismatch.\n\n"; }