diff options
-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; }); |