From 12c1b02c5bbe0916382798753db8ad839a88de08 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 5 Jul 2006 16:23:11 +0000 Subject: (update_media) don't die if the same file is encoutered twice --- urpm.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm.pm') 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, -- cgit v1.2.1