summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-18 05:20:25 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-18 05:20:25 +0000
commit622997696fb4a7bcedee2b81ddcf07598c3d2e52 (patch)
treeec7368c8012d9b8b01073be635e0d77115fb4612 /perl-install/pkgs.pm
parenta989352435472bfc67bc0ef5ea00f8c78ac70ecd (diff)
downloaddrakx-622997696fb4a7bcedee2b81ddcf07598c3d2e52.tar
drakx-622997696fb4a7bcedee2b81ddcf07598c3d2e52.tar.gz
drakx-622997696fb4a7bcedee2b81ddcf07598c3d2e52.tar.bz2
drakx-622997696fb4a7bcedee2b81ddcf07598c3d2e52.tar.xz
drakx-622997696fb4a7bcedee2b81ddcf07598c3d2e52.zip
in disk-iso install, automatically choose and change ISO images, according to their volume id and application id
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 3934fa0fe..ed1f7eaa2 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -448,7 +448,7 @@ sub psUsingHdlist {
#- avoid using more than one medium if Cd is not ejectable.
#- but keep all medium here so that urpmi has the whole set.
- $m->{ignored} ||= $method eq 'cdrom' && $medium > 1 && !common::usingRamdisk();
+ $m->{ignored} ||= $method =~ /(^cdrom|-iso)$/ && $medium > 1 && !common::usingRamdisk();
#- parse synthesis (if available) of directly hdlist (with packing).
if ($m->{ignored}) {
@@ -922,7 +922,7 @@ sub installTransactionClosure {
#- it is sure at least one package will be installed according to medium chosen.
install_any::useMedium($medium->{medium});
- if ($medium->{method} eq 'cdrom') {
+ if ($medium->{method} =~ /(^cdrom|-iso)$/) {
my $pkg = $packages->{depslist}[$l[0]];
#- force changeCD callback to be called from main process.