Octave: Web page has been changed
This commit is contained in:
parent
3c7fd967d0
commit
202df1d1c6
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue