diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-28 21:32:58 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-28 21:32:58 +0000 |
commit | 377734ac1764c5642c5d9b5f4311744f79f3ab2c (patch) | |
tree | 288c458cf4fdbab92e4971341b8f843a0fa196e3 /perl-install | |
parent | 565be0a0ccc919134f209b8872866edc3aa111b3 (diff) | |
download | drakx-377734ac1764c5642c5d9b5f4311744f79f3ab2c.tar drakx-377734ac1764c5642c5d9b5f4311744f79f3ab2c.tar.gz drakx-377734ac1764c5642c5d9b5f4311744f79f3ab2c.tar.bz2 drakx-377734ac1764c5642c5d9b5f4311744f79f3ab2c.tar.xz drakx-377734ac1764c5642c5d9b5f4311744f79f3ab2c.zip |
replace probeall__real() with a probeall_update_cache() function that also updates the pci/usb probe cache
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/detect_devices.pm | 4 |
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) = @_; |