summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install')
-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};
}