From a21ee6953348cc3a958673c5378c7c41fd7abda6 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 14 Apr 2005 16:59:28 +0000 Subject: When re-using the rpmsrate and compssUsers.pl from a supplementary media, always retrieve them locally in /tmp, instead of choosing the main install method (this wasn't working for http installs) --- perl-install/pkgs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/pkgs.pm') diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 2dfa0cf14..47b3633e6 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -661,7 +661,7 @@ sub read_rpmsrate { sub readCompssUsers { my ($file) = @_; - my $f = install_any::getFile($file) + my $f = -e $file ? install_any::getLocalFile($file) : install_any::getFile($file) or do { log::l("can not find $file: $!"); return (undef, undef) }; my ($compssUsers, $gtk_display_compssUsers) = eval join('', <$f>); if ($@) { -- cgit v1.2.1