Skip to content

Commit

Permalink
[Dependency Downloader][Fixed] Problems with Ghostscript 10 release
Browse files Browse the repository at this point in the history
- No Linux binaries are currently available
  • Loading branch information
set-soft committed Mar 27, 2023
1 parent 762d96d commit d9cca11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kibot/dep_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@ def gs_downloader(dep, system, plat):
logger.debug('- No binary for this system')
return None, None
# 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)
if r.status_code != 200:
logger.debug('- Failed to download `{}`'.format(dep.url_down))
Expand Down

0 comments on commit d9cca11

Please sign in to comment.