diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-30 15:59:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-30 15:59:11 +0000 |
commit | 9c182082022737973dd5b8681fc6f744de2fa737 (patch) | |
tree | 6dbfdfdcbb714ecdedb6cc4c3e6f6412e29307b4 /perl-install/install/media.pm | |
parent | a1202d4614c0c7187950e9d15da9113ebc7f235b (diff) | |
download | drakx-9c182082022737973dd5b8681fc6f744de2fa737.tar drakx-9c182082022737973dd5b8681fc6f744de2fa737.tar.gz drakx-9c182082022737973dd5b8681fc6f744de2fa737.tar.bz2 drakx-9c182082022737973dd5b8681fc6f744de2fa737.tar.xz drakx-9c182082022737973dd5b8681fc6f744de2fa737.zip |
(_adjust_paths_in_urpmi_cfg) fix writing urpmi.cfg as cdrom:// for NFS
(#49316) (regression introduced in r254610 on 2009-03-23:
"(get_media,_adjust_paths_in_urpmi_cfg) only adjust newly added medium
regarding current physical medium"
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r-- | perl-install/install/media.pm | 2 |
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}; |