summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-08-23 23:24:56 +0000
committerPascal Terjan <pterjan@mageia.org>2012-08-23 23:24:56 +0000
commit71c5b675469035830093275aeb7eabd8e2645d68 (patch)
tree5c76e84bd29b581cc916f3aab0a41cfc978ba766 /urpm/install.pm
parentdc9f764a783ccbdcd9fe859279b0f92ce9acd5c4 (diff)
downloadurpmi-71c5b675469035830093275aeb7eabd8e2645d68.tar
urpmi-71c5b675469035830093275aeb7eabd8e2645d68.tar.gz
urpmi-71c5b675469035830093275aeb7eabd8e2645d68.tar.bz2
urpmi-71c5b675469035830093275aeb7eabd8e2645d68.tar.xz
urpmi-71c5b675469035830093275aeb7eabd8e2645d68.zip
Only search for README.urpmi files in doc files (needs URPM >= 4.13)7.3
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 0ac6e1a9..9a86f341 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -107,7 +107,7 @@ sub install_logger {
sub get_README_files {
my ($urpm, $trans, $pkg) = @_;
- foreach my $file ($pkg->files) {
+ foreach my $file ($pkg->doc_files) {
my ($kind) = $file =~ m!/README([^/]*)\.urpmi$! or next;
my $valid;
if ($kind eq '') {