diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_any.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 83c490a85..88a95b215 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -983,7 +983,8 @@ sub install_urpmi { my $dest = "/mnt/inst_iso"; $dir = "removable:/$dest/$_->{rpmsdir}"; -d "$::prefix$dest" or mkdir_p("$::prefix$dest"); - $removable_device = "$p->{mntpoint}/$iso_path"; + #- FIXME: don't use /mnt/hd but really try to find the mount point + $removable_device = ($p->{mntpoint} || "/mnt/hd") . "/$iso_path"; } elsif ($curmethod eq 'cdrom') { $removable_device = '/dev/cdrom'; } |