Add SystemRescueCd
This commit is contained in:
parent
cc3e55c3ee
commit
3a6a2f8174
1 changed files with 14 additions and 0 deletions
14
modules/SysRescCd.php
Normal file
14
modules/SysRescCd.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class SysRescCd extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Francois Dupoux', 'SystemRescueCd', 'http://www.system-rescue-cd.org/');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('http://www.system-rescue-cd.org/Detailed-packages-list/'))
|
||||||
|
return $this->parse('/<strong>SystemRescueCd-([\d\.]+)<\/strong>/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue