OPNsense: update regex
This commit is contained in:
parent
a3db36a716
commit
2b05c8a7c9
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class OPNsense extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://opnsense.org/download/'))
|
if ($this->fetch('https://opnsense.org/download/'))
|
||||||
return $this->parse('/version *= *"([\d.]+)"/');
|
return $this->parse('/data-version=\'([\d.]+)\'/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue