diff --git a/system/src/Grav/Console/Gpm/InstallCommand.php b/system/src/Grav/Console/Gpm/InstallCommand.php
index 8f34a6a49..3cb0bd37c 100644
--- a/system/src/Grav/Console/Gpm/InstallCommand.php
+++ b/system/src/Grav/Console/Gpm/InstallCommand.php
@@ -241,9 +241,7 @@ class InstallCommand extends ConsoleCommand
if ($major_version_changed) {
$question = new ConfirmationQuestion("The package $package_name will be updated to a new major version $new_version, from $old_version. Be sure to read what changed with the new major release. Continue? [y|N] ", false);
- if ($helper->ask($this->input, $this->output, $question)) {
- $this->processPackage($package, true);
- } else {
+ if (!$helper->ask($this->input, $this->output, $question)) {
$this->output->writeln("Package " . $packageName . " not updated");
exit;
}