mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Merge pull request #247 from Mibew/debian_fix2
Remove possible tilda from a string of installed dependency.
This commit is contained in:
commit
3b9a8e5456
@ -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