diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-07-28 01:47:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-07-28 01:47:56 +0000 |
commit | 9d719bb1f9c93148fd0cd81465169b81c524516e (patch) | |
tree | 88a70b5f87b1bd9f1a0286fe0fe9b3a5a01227b2 /perl-install/detect_devices.pm | |
parent | 17a33193533b3f4f013bc98ae63cb0a8566211aa (diff) | |
download | drakx-9d719bb1f9c93148fd0cd81465169b81c524516e.tar drakx-9d719bb1f9c93148fd0cd81465169b81c524516e.tar.gz drakx-9d719bb1f9c93148fd0cd81465169b81c524516e.tar.bz2 drakx-9d719bb1f9c93148fd0cd81465169b81c524516e.tar.xz drakx-9d719bb1f9c93148fd0cd81465169b81c524516e.zip |
fix getSCSI_26() not sorting the drives
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index b9a7eb521..541c0762f 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -274,6 +274,8 @@ sub getSCSI_26() { }; } all($dev_dir); + @l = sort { $a->{host} <=> $b->{host} || $a->{channel} <=> $b->{channel} || $a->{id} <=> $b->{id} || $a->{lun} <=> $b->{lun} } @l; + complete_usb_storage_info(@l); foreach (@l) { |