diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-03 12:39:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-03 12:39:56 +0000 |
commit | 22222aac2ecbef79b765c20a01e85e900015efc6 (patch) | |
tree | d74f4023fb060c0233a663c8347148ddb95e346c /rpm-find-leaves | |
parent | 793a6259f679ac5f9c123ca9a6827d5ac4250361 (diff) | |
download | urpmi-22222aac2ecbef79b765c20a01e85e900015efc6.tar urpmi-22222aac2ecbef79b765c20a01e85e900015efc6.tar.gz urpmi-22222aac2ecbef79b765c20a01e85e900015efc6.tar.bz2 urpmi-22222aac2ecbef79b765c20a01e85e900015efc6.tar.xz urpmi-22222aac2ecbef79b765c20a01e85e900015efc6.zip |
simplify
Diffstat (limited to 'rpm-find-leaves')
-rw-r--r-- | rpm-find-leaves | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rpm-find-leaves b/rpm-find-leaves index 731e8e5b..8ce66809 100644 --- a/rpm-find-leaves +++ b/rpm-find-leaves @@ -46,8 +46,7 @@ my $leaves = urpm::select::installed_leaves($urpm, $discard); if ($options{fullname}) { foreach my $k (sort keys %$leaves) { - my $l = $leaves->{$k}; - print $l->name, '-', $l->version, '-', $l->release, '.', $l->arch, "\n"; + print scalar($leaves->{$k}->fullname), "\n"; } } else { print "$_\n" foreach sort keys %$leaves; |