diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-21 13:06:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-21 13:06:05 +0000 |
commit | bc5be8ae6923c0605df687918b35a77a735b1b35 (patch) | |
tree | e0ef212f86e1eb11a08f27cdba793aeca737889f /perl-install/install_any.pm | |
parent | bb5aeb1cde738a4ddb1fff00ea50093cb78e1337 (diff) | |
download | drakx-backup-do-not-use-bc5be8ae6923c0605df687918b35a77a735b1b35.tar drakx-backup-do-not-use-bc5be8ae6923c0605df687918b35a77a735b1b35.tar.gz drakx-backup-do-not-use-bc5be8ae6923c0605df687918b35a77a735b1b35.tar.bz2 drakx-backup-do-not-use-bc5be8ae6923c0605df687918b35a77a735b1b35.tar.xz drakx-backup-do-not-use-bc5be8ae6923c0605df687918b35a77a735b1b35.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index e0f3475cd..86afd29b9 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -63,11 +63,7 @@ sub changeMedium($$) { } sub relGetFile($) { local $_ = $_[0]; - m,^(Mandrake|lnx4win)/, and return $_; - /\.img$/ and return "images/$_"; - my $dir = m|/| ? "Mandrake/mdkinst" : /^(?:compss|compssList|compssUsers|provides|filelist|depslist.*|hdlist.*|auto_inst.*)$/ ? - "Mandrake/base/": "$::o->{packages}[2]{$asked_medium}{rpmsdir}/"; - "$dir$_"; + m|\.rpm$| ? "$::o->{packages}[2]{$asked_medium}{rpmsdir}/$_" : $_; } sub askChangeMedium($$) { my ($method, $medium) = @_; @@ -541,7 +537,7 @@ sub loadO { my ($O, $f) = @_; $f ||= auto_inst_file; my $o; if ($f =~ /^(floppy|patch)$/) { - my $f = $f eq "floppy" ? "auto_inst.cfg" : "patch"; + my $f = $f eq "floppy" ? 'Mandrake/base/auto_inst.cfg' : "patch"; unless ($::testing) { fs::mount(devices::make("fd0"), "/mnt", (arch() =~ /sparc/ ? "romfs" : "vfat"), 'readonly'); $f = "/mnt/$f"; |