OPNsense: update regex

This commit is contained in:
Steffen Lange 2024-08-05 12:15:24 +02:00
parent a3db36a716
commit 2b05c8a7c9

View file

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