summaryrefslogtreecommitdiff
path: root/solenv/bin/modules
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-09-27 18:24:09 +0200
committerAndras Timar <atimar@suse.com>2012-09-27 18:24:09 +0200
commit08fef531b59412bd6a1ae4cf986c102994711127 (patch)
tree6015f88e45d0dd29087a4eda54ba5e7b45b046a9 /solenv/bin/modules
parent0ed36db9f3eb2fbb5d0a328ae7680cef4a4071bf (diff)
Revert "sorting additional language packs and dictionaries fdo#34479"
This reverts commit f34252f647db9f5d274afb0b12bc897544236003. We sort these lists with a custom action, no need to sort them in Perl script. See 39bb77fd667
Diffstat (limited to 'solenv/bin/modules')
-rw-r--r--solenv/bin/modules/installer/windows/feature.pm39
1 files changed, 0 insertions, 39 deletions
diff --git a/solenv/bin/modules/installer/windows/feature.pm b/solenv/bin/modules/installer/windows/feature.pm
index 80f7954cb786..c22b8646523b 100644
--- a/solenv/bin/modules/installer/windows/feature.pm
+++ b/solenv/bin/modules/installer/windows/feature.pm
@@ -426,45 +426,6 @@ sub create_feature_table
}
}
- # Sorting names of language packs and dictionaries
- my @tempfeaturetable;
- my @langlist;
- my @langpack;
- my @dictlist;
- my @sorteddictlist;
- my @sortedlanglist;
-
- foreach (@featuretable) {
- if (/^gm_r_Extension_Dictionary_/) {
- push (@dictlist, $_);
- }
- elsif (/^gm_Langpack_r_/) {
- push (@langlist, $_);
- }
- elsif (/\tgm_Langpack_r_/) {
- push (@langpack, $_);
- }
- else {
- push (@tempfeaturetable, $_);
- }
- }
-
- @sorteddictlist = sort { (split(/\t/, $a))[2] cmp (split(/\t/, $b))[2] } @dictlist;
- @sortedlanglist = sort { (split(/\t/, $a))[2] cmp (split(/\t/, $b))[2] } @langlist;
-
- @featuretable = (@tempfeaturetable, @sorteddictlist);
-
- foreach (@sortedlanglist) {
- my $sortedlanglistline = $_;
- push (@featuretable, $sortedlanglistline);
- foreach (@langpack) {
- my $langpackline = $_;
- if ( (split(/\t/, $langpackline))[1] eq (split(/\t/, $sortedlanglistline))[0] ) {
- push (@featuretable, $langpackline);
- }
- }
- }
-
# Saving the file
my $featuretablename = $basedir . $installer::globals::separator . "Feature.idt" . "." . $onelanguage;