PatchBot/modules/LibreOfficeFresh.php
2020-03-28 23:30:53 +01:00

14 lines
408 B
PHP

<?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;
}
}
?>