summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-09-05 13:09:32 +0000
committerFrancois Pons <fpons@mandriva.com>2002-09-05 13:09:32 +0000
commit3dcf9a46f6b9a0877e801c2f452a2c5a6d0ce493 (patch)
tree934f578363ff1b0bfa08b9210f0070ef148f16dd /perl-install/install_any.pm
parent379f63b76efa8d71b6fcacb3e259e65493c481ec (diff)
downloaddrakx-3dcf9a46f6b9a0877e801c2f452a2c5a6d0ce493.tar
drakx-3dcf9a46f6b9a0877e801c2f452a2c5a6d0ce493.tar.gz
drakx-3dcf9a46f6b9a0877e801c2f452a2c5a6d0ce493.tar.bz2
drakx-3dcf9a46f6b9a0877e801c2f452a2c5a6d0ce493.tar.xz
drakx-3dcf9a46f6b9a0877e801c2f452a2c5a6d0ce493.zip
allow noauto:... media in hdlists file to be installed for urpmi.
Diffstat (limited to 'perl-install/install_any.pm')
-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 };
}