summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-13 20:34:50 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-01-13 20:34:50 +0100
commit1479d9412b18b6b1087c742d7e699b35ebe55afd (patch)
tree1573aacad2d6ccf119a54ad46da5e684aeacbab7 /perl-install
parent5debe867e12c9b062ee15fe59f09e8a7b34627b2 (diff)
downloaddrakx-1479d9412b18b6b1087c742d7e699b35ebe55afd.tar
drakx-1479d9412b18b6b1087c742d7e699b35ebe55afd.tar.gz
drakx-1479d9412b18b6b1087c742d7e699b35ebe55afd.tar.bz2
drakx-1479d9412b18b6b1087c742d7e699b35ebe55afd.tar.xz
drakx-1479d9412b18b6b1087c742d7e699b35ebe55afd.zip
fix random order of fields with perl-5.18
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rwxr-xr-xperl-install/standalone/harddrake22
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index bbacca42f..2f8650349 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
- harddrake:
o fix detecting some wireless devices as scanners (mga#9895)
+ o fix random order of fields with perl-5.18
Version 16.21 - 13 January 2014
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 5447afffe..1caabb455 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -308,7 +308,7 @@ $tree->get_selection->signal_connect('changed' => sub {
my ($grouped, $ungrouped) = partition {
my $field = $_;
member($field, map { @$_ } values %groups);
- } keys %device_fields;
+ } sort keys %device_fields;
my @formated;
foreach my $group ($identification, grep { $_ ne $identification } keys %groups) {
my @fields = @{$groups{$group}};