summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-04 13:28:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-04 13:28:52 +0000
commitaa600f53e86e940ab49e83805e6bc8a6fad5be1c (patch)
tree29d6ed7e199ea849510732603baf4963f08f4b5b
parenta7b0a9a660e34cd9829611b6d8209e6cda897c83 (diff)
downloaddrakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.tar
drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.tar.gz
drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.tar.bz2
drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.tar.xz
drakx-aa600f53e86e940ab49e83805e6bc8a6fad5be1c.zip
simplify ("file://foo" is same as "/foo")
-rw-r--r--perl-install/install/media.pm3
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};
}