diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-13 05:13:10 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-13 05:13:35 +0200 |
commit | b2768637d2748a1d55ee98a9809c66e135a4190a (patch) | |
tree | 6db7f75b56d689c5c08cce986a62bcaf5248210c /l10n/l10n.pl | |
parent | 4a5ee765cf5030c7d92d88687e886079f6bafb1e (diff) | |
download | nextcloud-server-b2768637d2748a1d55ee98a9809c66e135a4190a.tar.gz nextcloud-server-b2768637d2748a1d55ee98a9809c66e135a4190a.zip |
updated translations
Diffstat (limited to 'l10n/l10n.pl')
-rw-r--r-- | l10n/l10n.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/l10n/l10n.pl b/l10n/l10n.pl index 736a7bc0435..fb1b522c255 100644 --- a/l10n/l10n.pl +++ b/l10n/l10n.pl @@ -74,9 +74,6 @@ die( "Program must be executed in a l10n-folder called 'l10n'" ) unless $wheream my @dirs = crawlPrograms( $place, 1 ); # Languages -rmtree( 'templates' ); -mkdir( 'templates' ) unless -d 'templates'; - my @languages = (); opendir( DIR, '.' ); my @files = readdir( DIR ); @@ -86,6 +83,8 @@ foreach my $i ( @files ){ } if( $task eq 'read' ){ + rmtree( 'templates' ); + mkdir( 'templates' ) unless -d 'templates'; print "Mode: reading\n"; foreach my $dir ( @dirs ){ my @temp = split( /\//, $dir ); |