aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-17 21:07:05 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-17 21:07:05 +0000
commitd064f42223c79eb30befe9f5c6700f0b4e1105a5 (patch)
treee8964628fa6141cd7566b9321ba44b870e9cf364 /Rpmdrake/gui.pm
parent8e82723b7581f456de421f1b3cb49b54dfa1ba5d (diff)
downloadrpmdrake-d064f42223c79eb30befe9f5c6700f0b4e1105a5.tar
rpmdrake-d064f42223c79eb30befe9f5c6700f0b4e1105a5.tar.gz
rpmdrake-d064f42223c79eb30befe9f5c6700f0b4e1105a5.tar.bz2
rpmdrake-d064f42223c79eb30befe9f5c6700f0b4e1105a5.tar.xz
rpmdrake-d064f42223c79eb30befe9f5c6700f0b4e1105a5.zip
(build_tree) fix by_leaves sorting by adding arch to package full
names (needed before restoring flat mode)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index a4bfc70b..482c1ef5 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -840,7 +840,7 @@ or you already installed all of them."));
by_selection => sub { sort { $pkgs->{$b->[0]}{selected} <=> $pkgs->{$a->[0]}{selected}
|| uc($a->[0]) cmp uc($b->[0]) } @_ },
by_leaves => sub {
- my $pkgs_times = 'rpm -q --qf "%{name}-%{version}-%{release} %{installtime}\n" `urpmi_rpm-find-leaves`';
+ my $pkgs_times = 'rpm -q --qf "%{name}-%{version}-%{release}.%{arch} %{installtime}\n" `urpmi_rpm-find-leaves`';
sort { $b->[1] <=> $a->[1] } grep { exists $pkgs->{$_->[0]} } map { [ split ] } run_rpm($pkgs_times);
},
flat => sub { no locale; sort { uc($a->[0]) cmp uc($b->[0]) } @_ },