mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +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:
parent
a2c60f1eee
commit
a9e31f45e2
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user