summaryrefslogtreecommitdiffstats
path: root/lib/App/ArchLinux/PackagerTools
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/ArchLinux/PackagerTools')
-rw-r--r--lib/App/ArchLinux/PackagerTools/CPAN.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/App/ArchLinux/PackagerTools/CPAN.pm b/lib/App/ArchLinux/PackagerTools/CPAN.pm
index c2dcf4a..0bf201f 100644
--- a/lib/App/ArchLinux/PackagerTools/CPAN.pm
+++ b/lib/App/ArchLinux/PackagerTools/CPAN.pm
@@ -134,9 +134,11 @@ Set up the internal index of CPAN distributions
=cut
method _build_dist_index() {
+ $log->debug("Updating CPANPLUS index. This may take a while");
$self->{deps}->{cpanplus_backend}->reload_indices();
# TODO download pacakges list ourselves instead of using cpanplus for it? We may need cpanplus for other features later so keeping it is probably also fine.
+ $log->debug("Building index...");
my $packages_file = "$ENV{HOME}/.cpanplus/02packages.details.txt.gz";
my $fh = IO::Zlib->new($packages_file, 'r');
my %seen;