summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 5a1daaccc..b92a2b5d0 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -277,7 +277,7 @@ sub extract_modules {
eval {
require packdrake;
my $packer = new packdrake($cz, quiet => 1);
- $packer->extract_archive($dir, map { name2file($_) } @modules);
+ $packer->extract_archive($dir, map { name2file($_) } @modules) if @modules;
map { $dir . '/' . name2file($_) } @modules;
};
}