diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-10-27 12:20:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-10-27 12:20:51 +0000 |
commit | 161a8e5d0a02bf53d021ab71e2598f8115c32bac (patch) | |
tree | 538442fb5044ccecdfdb3480215c1bdf5a4968e0 | |
parent | 33593143cee65e1b4e5d29a0ceaf3d3219ee0d57 (diff) | |
download | rpmdrake-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-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |