summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/get_pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm
index 5c69a525..a0ef4445 100644
--- a/urpm/get_pkgs.pm
+++ b/urpm/get_pkgs.pm
@@ -126,7 +126,7 @@ sub selected2local_and_blists {
$pkgs{$maped_id} = $pkg;
}
}
- %pkgs ? { medium => $medium, pkgs => \%pkgs } : ();
+ %pkgs ? { medium => $medium, pkgs => \%pkgs } : @{[]};
} (@{$urpm->{media} || []});
if (@remaining_ids) {