From d8fbd027a875aa8c33e2a50dbea18f9441e262f4 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Sun, 9 Sep 2001 17:34:50 +0000 Subject: getAndSaveInstallFloppy: fix multiple cdrom issue --- perl-install/install_any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 55500ba91..a469d7121 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -700,7 +700,7 @@ sub getAndSaveInstallFloppy { if ($postinstall_rpms && -d $postinstall_rpms && -r "$postinstall_rpms/auto_install.img") { log::l("getAndSaveInstallFloppy: using file saved as $postinstall_rpms/auto_install.img"); require commands; - commands::cp("-f", "$postinstall_rpms/auto_install.img", $where) or return; + commands::cp("-f", "$postinstall_rpms/auto_install.img", $where); } else { my $image = cat_("/proc/cmdline") =~ /pcmcia/ ? "pcmcia" : ${{ disk => 'hd', cdrom => 'cdrom', ftp => 'network', nfs => 'network', http => 'network' }}{$o->{method}}; -- cgit v1.2.1