From fc863c560fbe6bae3eff7461638e010955f93328 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sun, 26 Oct 2014 19:23:34 -0600 Subject: [PATCH] moved composer update into non-symlink block --- system/src/Grav/Console/Cli/InstallCommand.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/src/Grav/Console/Cli/InstallCommand.php b/system/src/Grav/Console/Cli/InstallCommand.php index 38664d9a3..58fdd6690 100644 --- a/system/src/Grav/Console/Cli/InstallCommand.php +++ b/system/src/Grav/Console/Cli/InstallCommand.php @@ -66,13 +66,13 @@ class InstallCommand extends Command { $output->writeln('ERROR Missing .dependencies file in user/ folder'); } - // Updates composer first - $output->writeln("\nInstalling vendor dependencies"); - $output->writeln(system('php bin/composer.phar --working-dir="'.$this->destination.'" --no-interaction update')); - // If yaml config, process if ($this->config) { if (!$input->getOption('symlink')) { + // Updates composer first + $output->writeln("\nInstalling vendor dependencies"); + $output->writeln(system('php bin/composer.phar --working-dir="'.$this->destination.'" --no-interaction update')); + $this->gitclone($output); } else { $this->symlink($output);