summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-28 01:47:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-28 01:47:21 +0000
commit47f3422c420c94125c52535342ebb4e97875214c (patch)
treef764f203377dfd0b3ba3dc3c6983fef3048cc631 /perl-install
parent916224e6ac6736c6b468b2f7cf3b3628645d6f5c (diff)
downloaddrakx-backup-do-not-use-47f3422c420c94125c52535342ebb4e97875214c.tar
drakx-backup-do-not-use-47f3422c420c94125c52535342ebb4e97875214c.tar.gz
drakx-backup-do-not-use-47f3422c420c94125c52535342ebb4e97875214c.tar.bz2
drakx-backup-do-not-use-47f3422c420c94125c52535342ebb4e97875214c.tar.xz
drakx-backup-do-not-use-47f3422c420c94125c52535342ebb4e97875214c.zip
fix getSCSI_26() not sorting the drives
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 3a74a2c2d..cec1646f6 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -270,6 +270,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) {