From d4403eef534dfa4d140575554e7108e53bdddaca Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Fri, 19 Jul 2002 14:55:04 +0000 Subject: - check if speedtouch_mgmt exist before installing it --- perl-install/network/adsl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index d8d2a4758..bf5a63475 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -138,7 +138,7 @@ user "$adsl->{login}" ['ppp-compress-24', 'ppp_deflate'], ['ppp-compress-26', 'ppp_deflate']); $::isStandalone and modules::write_conf($prefix); - $in->do_pkgs->install('speedtouch_mgmt'); + $in->do_pkgs->what_provides("speedtouch_mgmt") and $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 -- cgit v1.2.1