summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-29 23:26:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-29 23:26:02 +0000
commit0f77199107c9131e0f2dc446d69077694075b8a4 (patch)
treec386b25c66f858e8a630fd98549d8f4abe8a81bf /perl-install/network
parent284c50c3c33aff0d3f9cc26726c77ddbf6ff6fd6 (diff)
downloaddrakx-0f77199107c9131e0f2dc446d69077694075b8a4.tar
drakx-0f77199107c9131e0f2dc446d69077694075b8a4.tar.gz
drakx-0f77199107c9131e0f2dc446d69077694075b8a4.tar.bz2
drakx-0f77199107c9131e0f2dc446d69077694075b8a4.tar.xz
drakx-0f77199107c9131e0f2dc446d69077694075b8a4.zip
kppp provider db reading: blacklist spurious .directory entries
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index d03aadccd..99693cb4b 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -404,7 +404,7 @@ Take a look at http://www.linmodems.org"),
s/%([0-9]{3})/chr(int($1))/eg;
$countries{$country} ||= translate($country);
join('', $countries{$country}, $_);
- } glob_("$db_path/$country/*")
+ } grep { !/.directory$/ } glob_("$db_path/$country/*")
} map { s!$db_path/!!o; s!_! !g; $_ } glob_("$db_path/*");
$old_provider = $provider;
},