mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
parent
7bdf01d344
commit
89f0f5c688
@ -268,7 +268,7 @@ class PluginInfo
|
||||
|
||||
// Check exact version of the library
|
||||
$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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user