diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/adsl.pm | 5 |
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')); |