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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 76eab06ad..312785491 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -126,7 +126,7 @@ sub getFile {
#- handling changing a media when some of the file on the first CD has been copied
#- to other to avoid media change...
my $f2 = "$postinstall_rpms/$f";
- $f2 = "/tmp/image/$rel" unless $postinstall_rpms && -e $f2;
+ $f2 = "/tmp/image/$rel" if !$postinstall_rpms || !-e $f2;
open GETFILE, $f2 and *GETFILE;
}
} || errorOpeningFile($f);