summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-09-02 08:27:09 +0000
committerFrancois Pons <fpons@mandriva.com>2002-09-02 08:27:09 +0000
commitf6870949a9ab5e95fdb933c507bdae4e483615e1 (patch)
treee23b19ae89b7a534966ca569fb0ded15ebf5fe74 /perl-install
parent09d7bc71c68862e9e6ca8ddae9aace4a8105dd8e (diff)
downloaddrakx-f6870949a9ab5e95fdb933c507bdae4e483615e1.tar
drakx-f6870949a9ab5e95fdb933c507bdae4e483615e1.tar.gz
drakx-f6870949a9ab5e95fdb933c507bdae4e483615e1.tar.bz2
drakx-f6870949a9ab5e95fdb933c507bdae4e483615e1.tar.xz
drakx-f6870949a9ab5e95fdb933c507bdae4e483615e1.zip
install_urpmi only install selected media.
Diffstat (limited to 'perl-install')
-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 };
}