summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-07-05 16:23:11 +0000
committerThierry Vignaud <tv@mandriva.org>2006-07-05 16:23:11 +0000
commit12c1b02c5bbe0916382798753db8ad839a88de08 (patch)
tree9db692286a196d75d59d542857d21244b5b3b107 /urpm.pm
parentda1c6d65da352a5001baa3f0e583149277ff49c0 (diff)
downloadurpmi-12c1b02c5bbe0916382798753db8ad839a88de08.tar
urpmi-12c1b02c5bbe0916382798753db8ad839a88de08.tar.gz
urpmi-12c1b02c5bbe0916382798753db8ad839a88de08.tar.bz2
urpmi-12c1b02c5bbe0916382798753db8ad839a88de08.tar.xz
urpmi-12c1b02c5bbe0916382798753db8ad839a88de08.zip
(update_media) don't die if the same file is encoutered twice
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 7012e013..3be214be 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1353,6 +1353,7 @@ this could happen if you mounted manually the directory when creating the medium
File::Find::find(
{
wanted => sub { -f $_ && /\.rpm$/ and $f{"$File::Find::dir/$_"} = 1 },
+ follow_skip => 2,
follow_fast => 1,
},
$dir,