summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-28 21:32:58 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-28 21:32:58 +0000
commit377734ac1764c5642c5d9b5f4311744f79f3ab2c (patch)
tree288c458cf4fdbab92e4971341b8f843a0fa196e3
parent565be0a0ccc919134f209b8872866edc3aa111b3 (diff)
downloaddrakx-backup-do-not-use-377734ac1764c5642c5d9b5f4311744f79f3ab2c.tar
drakx-backup-do-not-use-377734ac1764c5642c5d9b5f4311744f79f3ab2c.tar.gz
drakx-backup-do-not-use-377734ac1764c5642c5d9b5f4311744f79f3ab2c.tar.bz2
drakx-backup-do-not-use-377734ac1764c5642c5d9b5f4311744f79f3ab2c.tar.xz
drakx-backup-do-not-use-377734ac1764c5642c5d9b5f4311744f79f3ab2c.zip
replace probeall__real() with a probeall_update_cache() function that also updates the pci/usb probe cache
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index a1ac672bc..8f81e45bb 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -896,9 +896,9 @@ sub probeall() {
pci_probe(), usb_probe(), firewire_probe(), pcmcia_probe(), dmi_probe();
}
-sub probeall__real() {
+sub probeall_update_cache() {
return if $::noauto;
- pci_probe__real(), usb_probe__real(), firewire_probe(), pcmcia_probe(), dmi_probe();
+ @pci = pci_probe__real(), @usb = usb_probe__real(), firewire_probe(), pcmcia_probe(), dmi_probe();
}
sub matching_desc__regexp {
my ($regexp) = @_;