]> sipb.mit.edu Git - ikiwiki.git/commitdiff
reset setuptype to standard after an automator setup file is loaded
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 21 Mar 2010 18:51:47 +0000 (14:51 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 21 Mar 2010 18:51:47 +0000 (14:51 -0400)
so a standard file is generated (by default)

IkiWiki/Setup/Automator.pm

index 9da594e991e261e8b36c0bfc2f664be074f3816a..9f694e18ed739c9bcd0d245cad6986b136535d0b 100644 (file)
@@ -39,6 +39,7 @@ sub sanitize_wikiname ($) {
 sub import (@) {
        my $this=shift;
        IkiWiki::Setup::merge({@_});
 sub import (@) {
        my $this=shift;
        IkiWiki::Setup::merge({@_});
+       $config{setuptype}='Standard';
 
        if (! $config{force_overwrite}) {
                # Avoid overwriting any existing files.
 
        if (! $config{force_overwrite}) {
                # Avoid overwriting any existing files.