Scribus: update url and regex
This commit is contained in:
parent
6383d257a5
commit
1dc817532f
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ class Scribus extends PatchBase {
|
||||||
parent::__construct('Scribus Team', 'Scribus', 'https://www.scribus.net/downloads/stable-branch/');
|
parent::__construct('Scribus Team', 'Scribus', 'https://www.scribus.net/downloads/stable-branch/');
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://www.scribus.net/downloads/stable-branch/'))
|
if ($this->fetch('https://www.scribus.net/downloads/'))
|
||||||
return $this->parse('/<strong>Current stable release: Scribus ([\d\.]+)<\/strong>/');
|
return $this->parse('_//sourceforge\.net/projects/scribus/files/scribus/([\d\.]+)/_');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue