summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-05-12 06:59:28 +0000
committerOlivier Blin <oblin@mandriva.org>2005-05-12 06:59:28 +0000
commitd50a7e465bf3667b12d24afe8528c236edd0f03c (patch)
tree2016dafb144af7434601a1153e667cf361837aca /perl-install
parent1922b293313d8ddfe8d6168a1ac495295bf47fc2 (diff)
downloaddrakx-backup-do-not-use-d50a7e465bf3667b12d24afe8528c236edd0f03c.tar
drakx-backup-do-not-use-d50a7e465bf3667b12d24afe8528c236edd0f03c.tar.gz
drakx-backup-do-not-use-d50a7e465bf3667b12d24afe8528c236edd0f03c.tar.bz2
drakx-backup-do-not-use-d50a7e465bf3667b12d24afe8528c236edd0f03c.tar.xz
drakx-backup-do-not-use-d50a7e465bf3667b12d24afe8528c236edd0f03c.zip
fix PCMCIA controller reconfiguration (#15742)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/service_harddrake3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index fedd0fd58..50c0c9e04 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -145,8 +145,7 @@ foreach my $hw_class (@harddrake::data::tree) {
$modules_conf->write;
next;
} elsif ($Ident eq "PCMCIA_CONTROLLER") {
- $ID{none}{driver} = '' if is_empty_hash_ref($added[0]) && @was_removed;
- harddrake::autoconf::pcmcia(first(values(%ID))->{driver});
+ harddrake::autoconf::pcmcia(keys %ID ? first(values(%ID))->{driver} : '');
} elsif ($Ident eq "USB_CONTROLLER") {
modules::load_category($modules_conf, 'bus/usb');
$modules_conf->write;