diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-08-23 23:24:56 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-08-23 23:24:56 +0000 |
commit | 71c5b675469035830093275aeb7eabd8e2645d68 (patch) | |
tree | 5c76e84bd29b581cc916f3aab0a41cfc978ba766 | |
parent | dc9f764a783ccbdcd9fe859279b0f92ce9acd5c4 (diff) | |
download | urpmi-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
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | urpm.pm | 2 | ||||
-rw-r--r-- | urpm/install.pm | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Version 7.3 - 24 August 2012 + +- only search for README.urpmi files in doc files (needs URPM >= 4.13) + Version 7.2 - 29 June 2012 - urpme: simplify traversing DB (needs URPM >= 4.10) @@ -15,7 +15,7 @@ use urpm::md5sum; # perl_checker: require urpm::media # perl_checker: require urpm::parallel -our $VERSION = '7.2'; +our $VERSION = '7.3'; our @ISA = qw(URPM Exporter); our @EXPORT_OK = ('file_from_local_url', 'file_from_local_medium', 'is_local_medium'); 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 '') { |