summaryrefslogtreecommitdiffstats
path: root/perl-install
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
parent830f8420d2d6bf873c4cf75f6ed1ff6fb30d3b40 (diff)
downloaddrakx-0d7f89212f4f839156b58c4f6d0cc8962b85d124.tar
drakx-0d7f89212f4f839156b58c4f6d0cc8962b85d124.tar.gz
drakx-0d7f89212f4f839156b58c4f6d0cc8962b85d124.tar.bz2
drakx-0d7f89212f4f839156b58c4f6d0cc8962b85d124.tar.xz
drakx-0d7f89212f4f839156b58c4f6d0cc8962b85d124.zip
test if microcode is there
Diffstat (limited to 'perl-install')
-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'));