diff options
author | Tim Retout <tim@retout.co.uk> | 2012-09-01 10:49:55 +0100 |
---|---|---|
committer | Tim Retout <tim@retout.co.uk> | 2012-09-01 19:43:03 +0100 |
commit | 4e38a1c87054ad5eba329681741bf91efe8b1d37 (patch) | |
tree | f17202bddb0bbdd26aeda61e36e4559b53258e63 /solenv/bin | |
parent | f9a2a438be6dfa0c28dc81fdea604d5da8824cc9 (diff) |
installer: Make @rtllanguages non-global.
Change-Id: I20c3e2482e9bc1c1f2b32f517b1ced9037454544
Diffstat (limited to 'solenv/bin')
-rw-r--r-- | solenv/bin/modules/installer.pm | 3 | ||||
-rw-r--r-- | solenv/bin/modules/installer/globals.pm | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer.pm b/solenv/bin/modules/installer.pm index 1e69b4afa3c3..656bfb99ea68 100644 --- a/solenv/bin/modules/installer.pm +++ b/solenv/bin/modules/installer.pm @@ -1563,7 +1563,8 @@ sub main { my $onelanguage = ${$languagesarrayref}[$m]; my $is_rtl = 0; - if ( grep {$_ eq $onelanguage} @installer::globals::rtllanguages ) { $is_rtl = 1; } + my @rtllanguages = ("ar", "fa", "he", "ug", "ky-CN"); + if ( grep {$_ eq $onelanguage} @rtllanguages ) { $is_rtl = 1; } my $languageidtdir = $idtdirbase . $installer::globals::separator . $onelanguage; if ( -d $languageidtdir ) { installer::systemactions::remove_complete_directory($languageidtdir, 1); } diff --git a/solenv/bin/modules/installer/globals.pm b/solenv/bin/modules/installer/globals.pm index e824acb42ea6..1f8816877a90 100644 --- a/solenv/bin/modules/installer/globals.pm +++ b/solenv/bin/modules/installer/globals.pm @@ -96,7 +96,6 @@ BEGIN "tk", "ky-CN" ); - @rtllanguages = ("ar", "fa", "he", "ug", "ky-CN"); $ziplistname = ""; $pathfilename = ""; |