diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-27 13:24:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-27 13:24:36 +0000 |
commit | cb82cca6728f773af4e163d14ac1e00e1d22fa3e (patch) | |
tree | c829c402867177889f9109f121dceed697012709 | |
parent | e432b3022b3270dc86df13f5ea8882d7d41bbecd (diff) | |
download | rpmdrake-cb82cca6728f773af4e163d14ac1e00e1d22fa3e.tar rpmdrake-cb82cca6728f773af4e163d14ac1e00e1d22fa3e.tar.gz rpmdrake-cb82cca6728f773af4e163d14ac1e00e1d22fa3e.tar.bz2 rpmdrake-cb82cca6728f773af4e163d14ac1e00e1d22fa3e.tar.xz rpmdrake-cb82cca6728f773af4e163d14ac1e00e1d22fa3e.zip |
(get_pkgs) simplify
-rwxr-xr-x | rpmdrake | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1613,10 +1613,9 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1); summary => rpm_summary($pkg->summary), description => rpm_description($pkg->description), } if !($installed_pkgs{$fullname} && $installed_pkgs{$fullname}{description}); - if ($base{$fullname}) { - my $name = $base{$fullname}; + if (my $name = $base{$fullname}) { $installed_pkgs{$fullname}{base} = \$name; - if (${$base{$fullname}} == 1) { $pkg->set_flag_base(1) } + $pkg->set_flag_base(1) if $$name == 1; } $pkg->pack_header; }); |