Add Ghostscript
This commit is contained in:
parent
5bf91ed443
commit
6d53614747
1 changed files with 14 additions and 0 deletions
14
modules/Ghostscript.php
Normal file
14
modules/Ghostscript.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Ghostscript extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Artifex Software', 'Ghostscript', 'https://www.ghostscript.com/download/gsdnld.html');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.ghostscript.com/download/gsdnld.html'))
|
||||
return $this->parse('/<a name="SRC"><\/a>Ghostscript ([\d\.]+) Source/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue