reset setuptype to standard after an automator setup file is loaded

so a standard file is generated (by default)
master
Joey Hess 2010-03-21 14:51:47 -04:00
parent 9fb3409613
commit aea5bf9b40
1 changed files with 1 additions and 0 deletions

View File

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