summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r--perl-install/install/media.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index bed27116d..0de5f9eef 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -530,7 +530,8 @@ sub adjust_paths_in_urpmi_cfg {
my $dir = _get_medium_dir($phys_m);
my $old_url = $medium->{url};
if ($phys_m->{method} eq 'cdrom') {
- $medium->{url} =~ s!^$phys_m->{real_mntpoint}/!cdrom://!;
+ $medium->{url} =~ s!^/tmp/image!cdrom://!; # main media
+ $medium->{url} =~ s!^$phys_m->{real_mntpoint}/!cdrom://!; # supplementary medium
} elsif ($phys_m->{method} eq 'nfs') {
$medium->{url} =~ s!^$::prefix!!;
}