summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/install.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 7cf36a15..67f97ecf 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -148,6 +148,8 @@ sub get_README_files {
foreach my $i (0 .. $trans->NElements - 1) {
$trans->Element_name($i) eq $pkg->name or next;
+ # handle README.<version>-<release>.upgrade.urpmi:
+ # the content is displayed when upgrading from rpm older than <version>
my $vr = $trans->Element_version($i) . '-' . $trans->Element_release($i);
if (URPM::ranges_overlap("== $vr", "< $version")) {
$valid = 1;