mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 15:29:57 +01:00
When a package has a Grav version in its requirements, if fulfilled just go on
Do not try to install it as if it was a plugin
This commit is contained in:
@@ -625,6 +625,8 @@ class GPM extends Iterator
|
||||
if (version_compare($this->calculateVersionNumberFromDependencyVersion($dependencyVersionWithOperator), GRAV_VERSION) === 1) {
|
||||
//Needs a Grav update first
|
||||
throw new \Exception("<red>One of the packages require Grav " . $dependencies['grav'] . ". Please update Grav to the latest release.");
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user