diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-06-15 03:47:43 -0400 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-06-15 22:54:32 +0300 |
commit | b3967b0ac3b0a56dc537744575fbe193a05e7903 (patch) | |
tree | 6ee54cc672381363c92c6f01fbb996634c214e99 /perl-install/install/media.pm | |
parent | dd71c39065f08aeb0868d153da1f564541ca668c (diff) | |
download | drakx-b3967b0ac3b0a56dc537744575fbe193a05e7903.tar drakx-b3967b0ac3b0a56dc537744575fbe193a05e7903.tar.gz drakx-b3967b0ac3b0a56dc537744575fbe193a05e7903.tar.bz2 drakx-b3967b0ac3b0a56dc537744575fbe193a05e7903.tar.xz drakx-b3967b0ac3b0a56dc537744575fbe193a05e7903.zip |
really fix urpmi media when installing from USB
thus fixing mga#5690
there was a typo in commit d269fc99ca5de9df10c673c00c5d28063340b848
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 d6d30219d..11a92691b 100644 --- a/perl-install/install/media.pm +++ b/perl-install/install/media.pm @@ -533,7 +533,7 @@ sub adjust_paths_in_urpmi_cfg { } elsif (member($phys_m->{method}, qw(disk nfs))) { # use the real mount point: if ($medium->{url} =~ m!/tmp/image(/media)?!) { - $medium->{url} =~ s!/tmp/image(/media).!$phys_m->{mntpoint}$phys_m->{rel_path}!; + $medium->{url} =~ s!/tmp/image(/media)?!$phys_m->{mntpoint}$phys_m->{rel_path}!; } else { # just remove $::prefix and we already have the real mount point: $medium->{url} =~ s!^$::prefix!!; |