summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-14 05:18:07 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-14 05:18:07 +0000
commita0db517a74a37d0d666acff3a6d62941d17cec53 (patch)
tree97696476716339da25122323d1dda44b51b97f15 /perl-install/network
parentb4ce2d88f1dfea0311ddeab1314fcb24d0d97b3e (diff)
downloaddrakx-a0db517a74a37d0d666acff3a6d62941d17cec53.tar
drakx-a0db517a74a37d0d666acff3a6d62941d17cec53.tar.gz
drakx-a0db517a74a37d0d666acff3a6d62941d17cec53.tar.bz2
drakx-a0db517a74a37d0d666acff3a6d62941d17cec53.tar.xz
drakx-a0db517a74a37d0d666acff3a6d62941d17cec53.zip
(setup_capi_conf) install firmware if needed
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/isdn.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index d78dc436c..020f924f8 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -70,6 +70,9 @@ sub setup_capi_conf {
$in->do_pkgs->install('isdn4k-utils'); #- capi4linux service
is_module_installed($capi_card->{driver}) or $in->do_pkgs->install($capi_card->{driver});
+ if ($capi_card->{firmware} && ! -f "$::prefix/usr/lib/isdn/$capi_card->{firmware}") {
+ $in->do_pkgs->install("$capi_card->{driver}-firmware");
+ }
my $capi_conf;
my $firmware = $capi_card->{firmware} || '-';