diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-11-16 20:11:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-11-16 20:11:25 +0000 |
commit | 3336a22db38bd534110b298e3c7bc28df4555d4c (patch) | |
tree | 1583367e4b20a72547bb9b37bd35f6ec396d3ccd | |
parent | e0087eccd1af4155b06d82e590a3fff0e8e46b33 (diff) | |
download | urpmi-3336a22db38bd534110b298e3c7bc28df4555d4c.tar urpmi-3336a22db38bd534110b298e3c7bc28df4555d4c.tar.gz urpmi-3336a22db38bd534110b298e3c7bc28df4555d4c.tar.bz2 urpmi-3336a22db38bd534110b298e3c7bc28df4555d4c.tar.xz urpmi-3336a22db38bd534110b298e3c7bc28df4555d4c.zip |
(get_README_files) comment
-rw-r--r-- | urpm/install.pm | 2 |
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; |