diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-02-23 16:52:31 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-02-23 16:52:31 +0000 |
commit | 0a0b2dfdb2c70ea255585e506b7ffd92e114a8c5 (patch) | |
tree | 9e7b27aa5222a14e99a52a7649bde44a652d51eb /mkpeople | |
parent | 8505fe92c3bcb4c323881a9a0942cf22b083c700 (diff) | |
download | mgapeople-0a0b2dfdb2c70ea255585e506b7ffd92e114a8c5.tar mgapeople-0a0b2dfdb2c70ea255585e506b7ffd92e114a8c5.tar.gz mgapeople-0a0b2dfdb2c70ea255585e506b7ffd92e114a8c5.tar.bz2 mgapeople-0a0b2dfdb2c70ea255585e506b7ffd92e114a8c5.tar.xz mgapeople-0a0b2dfdb2c70ea255585e506b7ffd92e114a8c5.zip |
Fix output files extension
Diffstat (limited to 'mkpeople')
-rwxr-xr-x | mkpeople | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -62,7 +62,7 @@ sub output_users { groups => \%groups, }; my $uid = $users{$user}->{uid}->[0]; - $template->process("user.$extension", $vars, "$uid.html"); + $template->process("user.$extension", $vars, "$uid.$extension"); } my $vars = { @@ -70,7 +70,7 @@ sub output_users { users => \%users, groups => \%groups, }; - $template->process("userindex.$extension", $vars, "index.html"); + $template->process("userindex.$extension", $vars, "index.$extension"); } sub output_groups { @@ -87,7 +87,7 @@ sub output_groups { groups => \%groups, }; my $cn = $groups{$group}->{cn}->[0]; - $template->process("group.$extension", $vars, "$cn.html"); + $template->process("group.$extension", $vars, "$cn.$extension"); } my $vars = { @@ -95,7 +95,7 @@ sub output_groups { users => \%users, groups => \%groups, }; - $template->process("groupindex.$extension", $vars, "index.html"); + $template->process("groupindex.$extension", $vars, "index.$extension"); } my $bindpw = read_file($config->{bindpwfile}); |