From b8a25c88bba7e597dd0c148e15693672d2a30f85 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 6 Nov 2002 17:38:26 +0000 Subject: replace complex "unless"s with "if"s --- 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 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); -- cgit v1.2.1