Add LibreOffice
This commit is contained in:
parent
daab33a675
commit
f0c7c5fae0
2 changed files with 28 additions and 0 deletions
14
modules/LibreOfficeFresh.php
Normal file
14
modules/LibreOfficeFresh.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class LibreOfficeFresh extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('The Document Foundation', 'LibreOffice - Fresh Branch', 'https://www.libreoffice.org/download/download/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.libreoffice.org/download/release-notes/'))
|
||||
return $this->parse('/name="Fresh"><\/a>LibreOffice ([\d\.]+) \(/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
14
modules/LibreOfficeStill.php
Normal file
14
modules/LibreOfficeStill.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class LibreOfficeStill extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('The Document Foundation', 'LibreOffice - Still Branch', 'https://www.libreoffice.org/download/download/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.libreoffice.org/download/release-notes/'))
|
||||
return $this->parse('/name="Still"><\/a>LibreOffice ([\d\.]+) \(/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue