summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 7f58eb063..9e1f97fe1 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -624,7 +624,8 @@ sub install_urpmi {
}
";
- } sort { $a->{medium} <=> $b->{medium} } grep { $_->{selected} } values %$mediums;
+ #- select only ignored (ie noauto flag) media and selected one.
+ } sort { $a->{medium} <=> $b->{medium} } grep { $_->{ignored} || $_->{selected} } values %$mediums;
eval { output "$prefix/etc/urpmi/urpmi.cfg", @cfg };
}