summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-20 20:33:08 +0000
committerdamien <damien@mandriva.com>2001-09-20 20:33:08 +0000
commit0d7f89212f4f839156b58c4f6d0cc8962b85d124 (patch)
tree6d9dd2d930a2c4e5f69d1e786b23c69758ac7f13 /perl-install/network
parent830f8420d2d6bf873c4cf75f6ed1ff6fb30d3b40 (diff)
downloaddrakx-backup-do-not-use-0d7f89212f4f839156b58c4f6d0cc8962b85d124.tar
drakx-backup-do-not-use-0d7f89212f4f839156b58c4f6d0cc8962b85d124.tar.gz
drakx-backup-do-not-use-0d7f89212f4f839156b58c4f6d0cc8962b85d124.tar.bz2
drakx-backup-do-not-use-0d7f89212f4f839156b58c4f6d0cc8962b85d124.tar.xz
drakx-backup-do-not-use-0d7f89212f4f839156b58c4f6d0cc8962b85d124.zip
test if microcode is there
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/adsl.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 4a6e0bd9c..838ef865f 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -144,7 +144,10 @@ user "$adsl->{login}"
require pkgs;
$mgmtrpm = pkgs::packageByName($in->{package}, "speedtouch_mgmt");
}
- $mgmtrpm ? $in->do_pkgs->install('speedtouch_mgmt') : $in->ask_warn('', _('You need the alcatel microcode.
+ 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.
Download it at
http://www.alcatel.com/consumer/dsl/dvrreg_lx.htm
and copy the mgmt.o in /usr/share/speedtouch'));