summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-12 01:24:39 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-12 01:24:39 +0000
commit7d8f11b58764859230367055deda3489fc09412f (patch)
tree6961a38d59d54670c8e1d942dbef44449c18a9c1 /perl-install/install_any.pm
parent855cc85f5558115010b9629246b014b83fcfe2c3 (diff)
downloaddrakx-7d8f11b58764859230367055deda3489fc09412f.tar
drakx-7d8f11b58764859230367055deda3489fc09412f.tar.gz
drakx-7d8f11b58764859230367055deda3489fc09412f.tar.bz2
drakx-7d8f11b58764859230367055deda3489fc09412f.tar.xz
drakx-7d8f11b58764859230367055deda3489fc09412f.zip
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 8d0495323..e1883aa06 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -400,8 +400,8 @@ sub g_auto_install(;$) {
sub loadO {
my ($O, $f) = @_; $f ||= auto_inst_file;
my $o;
- if ($f eq "floppy") {
- my $f = "auto_inst.cfg";
+ if ($f =~ /^(floppy|patch)$/) {
+ my $f = $f eq "floppy" ? "auto_inst.cfg" : "patch";
unless ($::testing) {
fs::mount(devices::make("fd0"), "/mnt", "vfat", 0);
$f = "/mnt/$f";