Ghostscript: link to download moved
This commit is contained in:
parent
7e20b3a0cd
commit
444ab7f26a
1 changed files with 3 additions and 3 deletions
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
class Ghostscript extends PatchBase {
|
class Ghostscript extends PatchBase {
|
||||||
function __construct() {
|
function __construct() {
|
||||||
parent::__construct('Artifex Software', 'Ghostscript', 'https://www.ghostscript.com/download/gsdnld.html');
|
parent::__construct('Artifex Software', 'Ghostscript', 'https://www.ghostscript.com/releases/gsdnld.html');
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://www.ghostscript.com/download/gsdnld.html'))
|
if ($this->fetch('https://ghostscript.com/releases/index.html'))
|
||||||
return $this->parse('/<a name="SRC"><\/a>Ghostscript ([\d\.]+) Source/');
|
return $this->parse('/The latest release is Ghostscript ([\d\.]+)/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue