summaryrefslogtreecommitdiffstats
path: root/perl-install/network/adsl.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-02-20 14:22:41 +0000
committerdamien <damien@mandriva.com>2002-02-20 14:22:41 +0000
commitc52f4b334835b01d1539cf1375bdfe21a4b08877 (patch)
tree23697625f6d0e75b9cdb5a13540ac429776f780d /perl-install/network/adsl.pm
parent3a058c5054c30040a8d641772e2a488896e5a387 (diff)
downloaddrakx-c52f4b334835b01d1539cf1375bdfe21a4b08877.tar
drakx-c52f4b334835b01d1539cf1375bdfe21a4b08877.tar.gz
drakx-c52f4b334835b01d1539cf1375bdfe21a4b08877.tar.bz2
drakx-c52f4b334835b01d1539cf1375bdfe21a4b08877.tar.xz
drakx-c52f4b334835b01d1539cf1375bdfe21a4b08877.zip
mgmt install corrected
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r--perl-install/network/adsl.pm14
1 files changed, 2 insertions, 12 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index e304c68c6..d8d2a4758 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -138,21 +138,11 @@ user "$adsl->{login}"
['ppp-compress-24', 'ppp_deflate'],
['ppp-compress-26', 'ppp_deflate']);
$::isStandalone and modules::write_conf($prefix);
- my $mgmtrpm;
- if ($::isStandalone) {
- $mgmtrpm = `grep speedtouch_mgmt /var/lib/urpmi/depslist.ordered` ? 1 : 0;
- } else {
- require pkgs;
- $mgmtrpm = pkgs::packageByName($in->{package}, "speedtouch_mgmt");
- }
- if ($mgmtrpm) {
- $in->do_pkgs->install('speedtouch_mgmt')
- } else {
- -e "$prefix/usr/share/speedtouch/mgmt.o" or $in->ask_warn('', _('You need the alcatel microcode.
+ $in->do_pkgs->install('speedtouch_mgmt');
+ -e "$prefix/usr/share/speedtouch/mgmt.o" or $in->ask_warn('', _('You need the alcatel microcode.
Download it at
http://www.alcatel.com/consumer/dsl/dvrreg_lx.htm
and copy the mgmt.o in /usr/share/speedtouch'));
- }
}
if ($adsl_type eq 'pptp') {