diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-30 13:10:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-30 13:10:16 +0000 |
commit | efc194ff3e558826bd8a7fac1d76993f131e7ceb (patch) | |
tree | 910aacbaed9bbacc6f17cd99b61b5d193a8643cf | |
parent | b2ab507ac93ba93fc4fda9cb53acb90a44c3601a (diff) | |
download | rpmdrake-efc194ff3e558826bd8a7fac1d76993f131e7ceb.tar rpmdrake-efc194ff3e558826bd8a7fac1d76993f131e7ceb.tar.gz rpmdrake-efc194ff3e558826bd8a7fac1d76993f131e7ceb.tar.bz2 rpmdrake-efc194ff3e558826bd8a7fac1d76993f131e7ceb.tar.xz rpmdrake-efc194ff3e558826bd8a7fac1d76993f131e7ceb.zip |
(myformatList) don't ellipsize lost of packages since we have a scrolled window
-rwxr-xr-x | rpmdrake | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -391,10 +391,6 @@ sub rpm_description { "$t$tmp\n"; } -sub myformatList { - my $nb = 40; - join("\n", @_ <= $nb ? @_ : (@_[0..$nb-1], '...')); -} sub split_fullname { $_[0] =~ /^(.*)-([^-]+-[^-]+)$/ } sub my_fullname { @@ -644,7 +640,7 @@ sub remove_arch { $_[0] =~ /(.*)\.[^\.]+$/ ? $1 : $_[0]; } -sub formatlistpkg { myformatList(sort { uc($a) cmp uc($b) } @_) } +sub formatlistpkg { join("\n", sort { uc($a) cmp uc($b) } @_) } sub format_header { my ($str) = @_; |