]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Setup/Automator.pm
fix name of wrapper
[ikiwiki.git] / IkiWiki / Setup / Automator.pm
index b63c8e2454fdf683e56f5e9a00c9588ce7b9dfa4..8a451d386319d801b8440b50131cddea6bcdba1f 100644 (file)
@@ -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
                }
@@ -120,7 +123,7 @@ sub import (@) {
                        print "Confirm password: ";
                        chomp($password2=<STDIN>);
 
-                       last if  $password2 ne $password;
+                       last if $password2 eq $password;
 
                        print "Password mismatch.\n\n";
                }