aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-10-27 12:20:51 +0000
committerThierry Vignaud <tv@mandriva.org>2006-10-27 12:20:51 +0000
commit161a8e5d0a02bf53d021ab71e2598f8115c32bac (patch)
tree538442fb5044ccecdfdb3480215c1bdf5a4968e0
parent33593143cee65e1b4e5d29a0ceaf3d3219ee0d57 (diff)
downloadrpmdrake-161a8e5d0a02bf53d021ab71e2598f8115c32bac.tar
rpmdrake-161a8e5d0a02bf53d021ab71e2598f8115c32bac.tar.gz
rpmdrake-161a8e5d0a02bf53d021ab71e2598f8115c32bac.tar.bz2
rpmdrake-161a8e5d0a02bf53d021ab71e2598f8115c32bac.tar.xz
rpmdrake-161a8e5d0a02bf53d021ab71e2598f8115c32bac.zip
(extract_header) add support of hdlists for update media (#26788)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 3c20bcbf..85973ec8 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -456,7 +456,7 @@ sub extract_header {
[ map { [ "$_\n", if_(/^\*/, { 'weight' => Gtk2::Pango->PANGO_WEIGHT_BOLD }) ] } split("\n", $_[0]) ];
};
my $name = my_fullname($pkg->{pkg});
- if ($pkg->{pkg}->flag_installed) {
+ if ($pkg->{pkg}->flag_installed && !$pkg->{pkg}->flag_upgrade) {
add2hash($pkg, { files => [ split /\n/, chomp_(scalar(run_rpm("rpm -ql $name"))) || N("(none)") ],
changelog => $chg_prepro->(scalar(run_rpm("rpm -q --changelog $name"))) });
} else {