allow online patches in decimal format

This commit is contained in:
fbsanchez 2021-11-26 10:31:16 +01:00
parent a249ad43e8
commit 951f29769b
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ class Client
function ($carry, $item) {
$matches = [];
if (is_array($item) !== true
&& preg_match('/(\d+)\.tar/', $item, $matches) > 0
&& preg_match('/([\d\.\d]+?)\.tar/', $item, $matches) > 0
) {
$carry[] = [
'version' => $matches[1],