aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSawyer <Sawyer@mandriva.org>2005-05-24 14:40:47 +0000
committerSawyer <Sawyer@mandriva.org>2005-05-24 14:40:47 +0000
commitf9754ef07ba4be230c2b67ce545dd993c034adb1 (patch)
tree34f5b3cfa394a37529e2dbcb236c3ccb62480fdc
parent9059c620178071bd1477adb2f0f4519f44629ee4 (diff)
downloadrpmdrake-f9754ef07ba4be230c2b67ce545dd993c034adb1.tar
rpmdrake-f9754ef07ba4be230c2b67ce545dd993c034adb1.tar.gz
rpmdrake-f9754ef07ba4be230c2b67ce545dd993c034adb1.tar.bz2
rpmdrake-f9754ef07ba4be230c2b67ce545dd993c034adb1.tar.xz
rpmdrake-f9754ef07ba4be230c2b67ce545dd993c034adb1.zip
LOST
-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;
});