summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-15 10:55:59 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-15 10:55:59 +0000
commit37efb0fb62d00d43cead6350a2b5329f02093804 (patch)
tree016beb67a60471c759746ea3b41016043f67cde6 /perl-install
parentd18cdd3238753d1384bfe5ab849d84dd486e0ae2 (diff)
downloaddrakx-37efb0fb62d00d43cead6350a2b5329f02093804.tar
drakx-37efb0fb62d00d43cead6350a2b5329f02093804.tar.gz
drakx-37efb0fb62d00d43cead6350a2b5329f02093804.tar.bz2
drakx-37efb0fb62d00d43cead6350a2b5329f02093804.tar.xz
drakx-37efb0fb62d00d43cead6350a2b5329f02093804.zip
install unicorn-kernel package if available
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm4
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;