diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-15 10:55:59 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-15 10:55:59 +0000 |
commit | 37efb0fb62d00d43cead6350a2b5329f02093804 (patch) | |
tree | 016beb67a60471c759746ea3b41016043f67cde6 /perl-install/network | |
parent | d18cdd3238753d1384bfe5ab849d84dd486e0ae2 (diff) | |
download | drakx-backup-do-not-use-37efb0fb62d00d43cead6350a2b5329f02093804.tar drakx-backup-do-not-use-37efb0fb62d00d43cead6350a2b5329f02093804.tar.gz drakx-backup-do-not-use-37efb0fb62d00d43cead6350a2b5329f02093804.tar.bz2 drakx-backup-do-not-use-37efb0fb62d00d43cead6350a2b5329f02093804.tar.xz drakx-backup-do-not-use-37efb0fb62d00d43cead6350a2b5329f02093804.zip |
install unicorn-kernel package if available
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 09dfcc8c6..a6f5c9b72 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -693,7 +693,9 @@ Take a look at http://www.linmodems.org"), } $netcnx->{bus} = $netc->{autodetect}{adsl}{bewan}{bus} if $ntf_name eq 'bewan'; if ($ntf_name eq 'bewan' && !$::testing) { - $in->do_pkgs->ensure_is_installed_if_available('unicorn', "/usr/bin/bewan_adsl_status"); + if (my @unicorn_packages = $in->do_pkgs->check_kernel_module_packages('unicorn-kernel', 'unicorn')) { + $in->do_pkgs->install(@unicorn_packages); + } } if (exists($isdn_cards{$ntf_name})) { require network::isdn; |