summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index faba585f5..c391b2494 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -722,7 +722,7 @@ sub install($$$;$$) {
my ($prefix, $isUpgrade, $toInstall, $depOrder, $media) = @_;
my %packages;
- return if $::g_auto_install;
+ return if $::g_auto_install || !scalar(@$toInstall);
#- first stage to extract some important informations
#- about the packages selected. this is used to select