diff options
Diffstat (limited to 'extensions')
-rwxr-xr-x | extensions/create.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/create.pl b/extensions/create.pl index c4d911c2a..1b54e6b33 100755 --- a/extensions/create.pl +++ b/extensions/create.pl @@ -41,7 +41,7 @@ mkpath($extension_dir) || die "$extension_dir already exists or cannot be created.\n"; my $lcname = lc($name); -foreach my $path (qw(lib template/en/default/hook), +foreach my $path (qw(lib web template/en/default/hook), "template/en/default/$lcname") { mkpath("$extension_dir/$path") || die "$extension_dir/$path: $!"; @@ -55,6 +55,7 @@ my %create_files = ( 'config.pm.tmpl' => 'Config.pm', 'extension.pm.tmpl' => 'Extension.pm', 'util.pm.tmpl' => 'lib/Util.pm', + 'web-readme.txt.tmpl' => 'web/README', 'hook-readme.txt.tmpl' => 'template/en/default/hook/README', 'name-readme.txt.tmpl' => "template/en/default/$lcname/README", ); |