diff options
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1363,7 +1363,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( return if $MODE ne 'install' && $MODE ne 'update'; my $pkg = $urpm->{depslist}[$pkgid]; my $fullname = $pkg->fullname; - my $trtype = (grep { /$fullname/ } values %sources_install) ? 'install' : 'upgrade'; + my $trtype = (grep { /$fullname/ } values %sources_install) ? 'install' : '(update|upgrade)'; push our @Readmes, map { [ $_, $fullname ] } grep { /\bREADME(\.$trtype)?\.urpmi$/ } $pkg->files; |