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 29f5114a0..49a31cf10 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -131,7 +131,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/rhimage/$rel" unless -e $f2;
+ $f2 = "/tmp/rhimage/$rel" unless $postinstall_rpms && -e $f2;
log::l("local getFile $f2");
open GETFILE, $f2 and *GETFILE;
}