diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-04 13:28:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-04 13:28:52 +0000 |
commit | aa600f53e86e940ab49e83805e6bc8a6fad5be1c (patch) | |
tree | 29d6ed7e199ea849510732603baf4963f08f4b5b /perl-install/install | |
parent | a7b0a9a660e34cd9829611b6d8209e6cda897c83 (diff) | |
download | drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.tar drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.tar.gz drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.tar.bz2 drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.tar.xz drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.zip |
simplify ("file://foo" is same as "/foo")
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/media.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm index 0963b7a62..7899f6263 100644 --- a/perl-install/install/media.pm +++ b/perl-install/install/media.pm @@ -949,8 +949,7 @@ sub install_urpmi { if ($phys_m->{method} eq 'ftp' || $phys_m->{method} eq 'http' || $phys_m->{method} eq 'cdrom') { $dir = $phys_m->{url}; } elsif ($phys_m->{method} eq 'iso') { - my $urpmi_method = 'file'; - $dir = "$urpmi_method:/$phys_m->{mntpoint}$phys_m->{rel_path}"; + $dir = "$phys_m->{mntpoint}$phys_m->{rel_path}"; $removable_device = $phys_m->{loopback_device}{mntpoint} . $phys_m->{loopback_file}; } |