diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-14 05:18:07 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-14 05:18:07 +0000 |
commit | a0db517a74a37d0d666acff3a6d62941d17cec53 (patch) | |
tree | 97696476716339da25122323d1dda44b51b97f15 /perl-install/network/isdn.pm | |
parent | b4ce2d88f1dfea0311ddeab1314fcb24d0d97b3e (diff) | |
download | drakx-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/isdn.pm')
-rw-r--r-- | perl-install/network/isdn.pm | 3 |
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} || '-'; |