b80f130bdfeb72f4600c82a8f8c41730eaaf1c9e
hiram
  Fri Sep 20 12:14:10 2024 -0700
allow function on hgdownload2 also refs #34337

diff --git src/hg/makeDb/doc/asmHubs/hubIndex.pl src/hg/makeDb/doc/asmHubs/hubIndex.pl
index 53a40f8..8a8f108 100755
--- src/hg/makeDb/doc/asmHubs/hubIndex.pl
+++ src/hg/makeDb/doc/asmHubs/hubIndex.pl
@@ -1,26 +1,26 @@
 #!/usr/bin/env perl
 
 use strict;
 use warnings;
 use File::Basename;
 
 my $thisMachine = `uname -n`;
 chomp $thisMachine;
 
 if ($thisMachine ne "hgdownload") {
-  if ($thisMachine ne "hgdownload1") {
+  if ($thisMachine ne "hgdownload1" && $thisMachine ne "hgdownload2") {
     if ($thisMachine ne "hgdownload1.soe.ucsc.edu") {
      printf STDERR "# NOTE: This script is only used on hgdownload\n";
      exit 255;
     }
   }
 }
 
 #############################################################################
 sub startHtml() {
 printf '<!DOCTYPE HTML 4.01 Transitional>
 <!--#set var="TITLE" value="GenArk: UCSC Genome Archive" -->
 <!--#set var="ROOT" value=".." -->
 
 <!--#include virtual="$ROOT/inc/gbPageStartHardcoded.html" -->