aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake5
1 files changed, 2 insertions, 3 deletions
diff --git a/rpmdrake b/rpmdrake
index 6cec6ae5..6849d24d 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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;
});