diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-18 17:29:30 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-18 17:29:30 +0000 |
commit | 99e11ae4439bb1a5b2d236e4268346b18cc5d8fb (patch) | |
tree | 8ba291eb93356729de4b255be59c96384c4dc0c1 | |
parent | 1ec4287348d95162057a772369fddb2c9047e5e4 (diff) | |
download | rpmdrake-99e11ae4439bb1a5b2d236e4268346b18cc5d8fb.tar rpmdrake-99e11ae4439bb1a5b2d236e4268346b18cc5d8fb.tar.gz rpmdrake-99e11ae4439bb1a5b2d236e4268346b18cc5d8fb.tar.bz2 rpmdrake-99e11ae4439bb1a5b2d236e4268346b18cc5d8fb.tar.xz rpmdrake-99e11ae4439bb1a5b2d236e4268346b18cc5d8fb.zip |
Small simplification
-rwxr-xr-x | rpmdrake | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1760,8 +1760,10 @@ sub get_installed_pkgs { summary => rpm_summary($pkg->summary), description => rpm_description($pkg->description), } unless $installed_pkgs{$fullname} && $installed_pkgs{$fullname}{description}; - $base{$fullname} and $installed_pkgs{$fullname}{base} = \${$base{$fullname}}; - if ($base{$fullname} && ${$base{$fullname}} == 1) { $pkg->set_flag_base(1) } + if ($base{$fullname}) { + $installed_pkgs{$fullname}{base} = \${$base{$fullname}}; + if (${$base{$fullname}} == 1) { $pkg->set_flag_base(1) } + } $pkg->pack_header; }); statusbar_msg_remove($wait); |