[Dependency Downloader][Fixed] Problems with Ghostscript 10 release

- No Linux binaries are currently available
This commit is contained in:
Salvador E. Tropea 2023-03-27 09:20:03 -03:00
parent 9e99d18bce
commit 2bb8d652af
1 changed files with 3 additions and 1 deletions

View File

@ -496,7 +496,9 @@ def gs_downloader(dep, system, plat):
logger.debug('- No binary for this system') logger.debug('- No binary for this system')
return None, None return None, None
# Get the download page # Get the download page
url = 'https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases/latest' # url = 'https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases/latest'
# 2023-03-27: 10.x doesn't contain Linux binaries (yet?)
url = 'https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases/tags/gs9561'
r = get_request(url) r = get_request(url)
if r.status_code != 200: if r.status_code != 200:
logger.debug('- Failed to download `{}`'.format(dep.url_down)) logger.debug('- Failed to download `{}`'.format(dep.url_down))