Scilab: fix URL
This commit is contained in:
parent
2d1aada2a0
commit
c49eb243e5
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ class Scilab extends PatchBase {
|
|||
parent::__construct('ESI Group', 'Scilab', 'https://www.scilab.org/download');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.scilab.org/download', false))
|
||||
return $this->parse('/\/download\/([\d\.]+)/');
|
||||
if ($this->fetch('https://www.scilab.org/latest', false))
|
||||
return $this->parse('/\/download\/scilab-([\d\.]+)/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue