summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 8aad17682..2af8d3e4c 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -621,7 +621,7 @@ sub install_urpmi {
}
";
- } sort { $a->{medium} <=> $b->{medium} } values %$mediums;
+ } sort { $a->{medium} <=> $b->{medium} } grep { $_->{selected} } values %$mediums;
eval { output "$prefix/etc/urpmi/urpmi.cfg", @cfg };
}