diff --git a/modules/Ghostscript.php b/modules/Ghostscript.php index dff1c82..12171c6 100644 --- a/modules/Ghostscript.php +++ b/modules/Ghostscript.php @@ -2,11 +2,11 @@ class Ghostscript extends PatchBase { 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 { - if ($this->fetch('https://www.ghostscript.com/download/gsdnld.html')) - return $this->parse('/<\/a>Ghostscript ([\d\.]+) Source/'); + if ($this->fetch('https://ghostscript.com/releases/index.html')) + return $this->parse('/The latest release is Ghostscript ([\d\.]+)/'); return false; } }