--- loncom/lonnet/perl/lonnet.pm 2018/10/19 16:54:58 1.1386 +++ loncom/lonnet/perl/lonnet.pm 2018/11/01 04:33:11 1.1387 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.1386 2018/10/19 16:54:58 raeburn Exp $ +# $Id: lonnet.pm,v 1.1387 2018/11/01 04:33:11 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -237,10 +237,12 @@ sub get_servercerts_info { } return if ($hostname eq ''); my ($rep,$uselocal); - if (grep { $_ eq $lonhost } ¤t_machine_ids()) { + if (context eq 'install') { + $uselocal = 1; + } elsif (grep { $_ eq $lonhost } ¤t_machine_ids()) { $uselocal = 1; } - if (($context ne 'cgi') && ($uselocal)) { + if (($context ne 'cgi') && ($context ne 'install') && ($uselocal)) { my $distro = (split(/\:/,&get_server_distarch($lonhost)))[0]; if ($distro eq '') { $uselocal = 0;