aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 79d6f3d3..9dcbe7a8 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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;