mirror of
https://github.com/Mibew/mibew.git
synced 2025-04-25 15:56:07 +03:00
parent
7bdf01d344
commit
89f0f5c688
@ -268,7 +268,7 @@ class PluginInfo
|
|||||||
|
|
||||||
// Check exact version of the library
|
// Check exact version of the library
|
||||||
$version_constrain = new VersionExpression($required_version);
|
$version_constrain = new VersionExpression($required_version);
|
||||||
if (!$version_constrain->satisfiedBy(new Version($system_info[$lib], true))) {
|
if (!$version_constrain->satisfiedBy(new Version(preg_replace('/~/', '-', $system_info[$lib]), true))) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user