diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-10-20 12:11:25 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-10-20 12:11:25 +0000 |
commit | e75f56f807050196afe64d494e55d634ea83b2c2 (patch) | |
tree | ddb753f3ea92800d06382208a7f75b52cfce6953 /urpm.pm | |
parent | 157c39c7997ed7d9dd36c369e3bbd05d24a4774d (diff) | |
download | urpmi-e75f56f807050196afe64d494e55d634ea83b2c2.tar urpmi-e75f56f807050196afe64d494e55d634ea83b2c2.tar.gz urpmi-e75f56f807050196afe64d494e55d634ea83b2c2.tar.bz2 urpmi-e75f56f807050196afe64d494e55d634ea83b2c2.tar.xz urpmi-e75f56f807050196afe64d494e55d634ea83b2c2.zip |
Follow symbolic links when searching for rpms
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1242,14 +1242,9 @@ this could happen if you mounted manually the directory when creating the medium } } } else { - #- try to find rpm files, use recursive method, added additional - #- / after dir to make sure it will be taken into account if this - #- is a symlink to a directory. - #- make sure rpm filename format is correct and is not a source rpm - #- which are not well managed by urpmi. File::Find::find { wanted => sub { - -f && /\.rpm$/ && push @files, "$File::Find::dir/$_" - } }, $dir; + -f && /\.rpm$/ and push @files, "$File::Find::dir/$_" + }, follow => 1 }, $dir; #- check files contains something good! if (@files > 0) { |