Add OpenOffice 4.0

This commit is contained in:
Steffen Lange 2023-09-09 23:52:31 +02:00
parent a46749c822
commit 62e718332f

15
modules/OpenOffice4.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class OpenOffice4 extends PatchBase {
function __construct() {
parent::__construct('Apache Foundation', 'OpenOffice', 'http://www.openoffice.org/download/index.html');
$this->patch->setBranch('4.0');
}
function check() : bool {
if ($this->fetch_xml('https://ooo-updates.apache.org/aoo40/check.Update'))
return $this->parse_xml('(//inst:version)[1]');
return false;
}
}
?>