aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-21 14:25:43 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-21 14:25:43 +0000
commitaa40ddc296c709c7282b3be1c3ad0bb7d49105eb (patch)
treef7a43238e015da53e6cb0d535832e2437178b46d /Rpmdrake/pkg.pm
parent9f67acef1e20f050f40a03efc44011bc055f07e8 (diff)
downloadrpmdrake-aa40ddc296c709c7282b3be1c3ad0bb7d49105eb.tar
rpmdrake-aa40ddc296c709c7282b3be1c3ad0bb7d49105eb.tar.gz
rpmdrake-aa40ddc296c709c7282b3be1c3ad0bb7d49105eb.tar.bz2
rpmdrake-aa40ddc296c709c7282b3be1c3ad0bb7d49105eb.tar.xz
rpmdrake-aa40ddc296c709c7282b3be1c3ad0bb7d49105eb.zip
(formatlistpkg) move from pkg.pm into formatting.pm (more logical
place & will be reused by edit-urpm-sources)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 2fd79c4a..b95e7a68 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -52,7 +52,6 @@ our @EXPORT = qw(
download_callback
extract_header
find_installed_version
- formatlistpkg
get_pkgs
parse_compssUsers_flat
perform_installation
@@ -193,8 +192,6 @@ sub find_installed_version {
@version ? join(',', sort @version) : N("(none)");
}
-sub formatlistpkg { join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_) }
-
my $canceled;
sub download_callback {
my ($gurpm, $mode, $file, $percent, $total, $eta, $speed) = @_;