summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
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";