diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-24 18:34:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-24 18:34:39 +0000 |
commit | 76ccdfa6c7a4892f737f11292d5ccd7249a6f766 (patch) | |
tree | 616fdbe72ee83c76d7b345e5c844ae2e95eddd4c | |
parent | 092b006b0408ed50f3673cdc43b4b22a9382d6bd (diff) | |
download | drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.tar drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.tar.gz drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.tar.bz2 drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.tar.xz drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.zip |
(configure) fix adsl connection class due to type being now translated
-rw-r--r-- | perl-install/network/adsl.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 62ed99d25..5cf1423b8 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -31,7 +31,7 @@ If you don't know, choose 'use pppoe'"), [ sort values %l ], $l{ find { $netc->{autodetect}{adsl}{$_} } keys %l } ) or return; - $type =~ s/use //; + $type = find { $l{$_} eq $type } keys %l; if ($type eq 'pppoe') { $in->do_pkgs->install("rp-$type"); $netcnx->{type} = "adsl_$type"; |