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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index afce601c9..ded64e867 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -543,7 +543,7 @@ sub get_media {
sub _adjust_paths_in_urpmi_cfg {
my ($o, $phys_m, @new_media) = @_;
- if ($o->{stage2_phys_medium}{method} ne 'cdrom') {
+ if ($o->{stage2_phys_medium}{method} eq 'cdrom') {
my $urpm = install::pkgs::empty_packages();
# force rereading media:
undef $urpm->{media};