Octave: Web page has been changed

This commit is contained in:
Steffen Lange 2023-03-04 12:35:16 +01:00
parent 3c7fd967d0
commit 202df1d1c6

View file

@ -2,11 +2,11 @@
class Octave extends PatchBase {
function __construct() {
parent::__construct('John W. Eaton', 'GNU Octave', 'https://www.gnu.org/software/octave/download');
parent::__construct('John W. Eaton', 'GNU Octave', 'https://octave.org/download');
}
function check() : bool {
if ($this->fetch('https://www.gnu.org/software/octave/download'))
return $this->parse('_//ftpmirror\.gnu\.org/octave/windows/octave-([\d\.]+)-w64-installer\.exe_');
if ($this->fetch('https://octave.org/download'))
return $this->parse('/<strong>GNU Octave ([\d\.]+)<\/strong>/');
return false;
}
}