687d35acc65ff6e5dc22e80c749549ff7d8886ef max Tue Aug 21 13:36:58 2018 -0700 Revert "moving all config files in GBIB to the new .gi.ucsc.edu domain names" Apparently there is no plan to create hgdownload.gi.ucsc.edu. The previous commit was completely useless. This reverts commit e1b3625f3a40bfee5c483284fa7f6b23bf6bd47d. diff --git src/browserbox/root/urlIsNotNewerThanFile src/browserbox/root/urlIsNotNewerThanFile index c54a30e..f71d9ec 100755 --- src/browserbox/root/urlIsNotNewerThanFile +++ src/browserbox/root/urlIsNotNewerThanFile @@ -1,21 +1,21 @@ #!/usr/bin/env python import urllib2, time, os, datetime, optparse, sys parser = optparse.OptionParser("""usage: %prog [options] URL filename - compare modification time of file on http server against mtime of file on disk, return exit 0 if it is newer, exit with 1 if not newer. example: -if [ ! %prog http://hgdownload.gi.ucsc.edu/admin/hgcentral.sql lastUpdateTime.flag ]; then +if [ ! %prog http://hgdownload.soe.ucsc.edu/admin/hgcentral.sql lastUpdateTime.flag ]; then echo skip update exit fi """) (options, args) = parser.parse_args() if len(args)==0: parser.print_help() sys.exit(1) URL, flagFname = args # little helper class to download only the http HEAD class HeadRequest(urllib2.Request):