]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - auto.setup
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[git.ikiwiki.info.git] / auto.setup
index 74879dbc51047fb66db08027cf02e9f8a2c1d737..ef0f1723c9e48be1937ab9e1886a6074c405b15d 100644 (file)
@@ -28,7 +28,7 @@ IkiWiki::Setup::Automator->import(
        rcs => $rcs,
        srcdir => "$ENV{HOME}/$wikiname",
        destdir => "$ENV{HOME}/public_html/$wikiname",
        rcs => $rcs,
        srcdir => "$ENV{HOME}/$wikiname",
        destdir => "$ENV{HOME}/public_html/$wikiname",
-       repository => "$ENV{HOME}/$wikiname.$rcs",
+       repository => "$ENV{HOME}/$wikiname.".($rcs eq "monotone" ? "mtn" : $rcs),
        dumpsetup => "$ENV{HOME}/$wikiname.setup",
        url => "http://$domain/~$ENV{USER}/$wikiname",
        cgiurl => "http://$domain/~$ENV{USER}/$wikiname/ikiwiki.cgi",
        dumpsetup => "$ENV{HOME}/$wikiname.setup",
        url => "http://$domain/~$ENV{USER}/$wikiname",
        cgiurl => "http://$domain/~$ENV{USER}/$wikiname/ikiwiki.cgi",