summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-17 12:12:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-17 12:12:01 +0000
commite64bca473d6d5b8d3544940e85c889fab1e89d29 (patch)
treedf0b8b7ba4ff05510e4cf7d35f5bbd23e78173c6
parent894af88a12fab5148d213f25070d04790c973e02 (diff)
downloaddrakx-e64bca473d6d5b8d3544940e85c889fab1e89d29.tar
drakx-e64bca473d6d5b8d3544940e85c889fab1e89d29.tar.gz
drakx-e64bca473d6d5b8d3544940e85c889fab1e89d29.tar.bz2
drakx-e64bca473d6d5b8d3544940e85c889fab1e89d29.tar.xz
drakx-e64bca473d6d5b8d3544940e85c889fab1e89d29.zip
packdrake changed a little, ensuring that if we ask no modules it doesn't cause havoc
-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;
};
}