Add Alpine Linux

This commit is contained in:
Steffen Lange 2021-04-07 11:45:17 +02:00
parent 9f682b5465
commit 4ec6069cbd

14
modules/AlpineLinux.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class AlpineLinux extends PatchBase {
function __construct() {
parent::__construct('Alpine Linux Development Team', 'Alpine Linux', 'https://alpinelinux.org/');
}
function check() : bool {
if ($this->fetch_yaml('https://alpine.global.ssl.fastly.net/alpine/latest-stable/releases/x86_64/latest-releases.yaml'))
return $this->parse_yaml('version');
return false;
}
}
?>