Scilab: fix URL

This commit is contained in:
Steffen Lange 2021-12-13 15:57:18 +01:00
parent 2d1aada2a0
commit c49eb243e5

View file

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