From d25699397fb9f3883e65fe3e566c79078d226e1f Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sun, 26 Apr 2015 17:21:12 -0600 Subject: [PATCH] add composer update to gpm selfupgrade --- system/src/Grav/Console/Gpm/SelfupgradeCommand.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/src/Grav/Console/Gpm/SelfupgradeCommand.php b/system/src/Grav/Console/Gpm/SelfupgradeCommand.php index 4d2895312..2b80b2793 100644 --- a/system/src/Grav/Console/Gpm/SelfupgradeCommand.php +++ b/system/src/Grav/Console/Gpm/SelfupgradeCommand.php @@ -153,6 +153,9 @@ class SelfupgradeCommand extends Command $this->output->writeln(''); } + $this->output->writeln("\nInstalling vendor dependencies"); + $this->output->writeln(system('php bin/composer.phar --working-dir="'.$this->destination.'" --no-interaction --no-dev -o install')); + // clear cache after successful upgrade $this->clearCache('all'); }