added --prefer-dist to these commands

This commit is contained in:
Andy Miller
2015-04-26 17:37:34 -06:00
parent ae453dbc71
commit 2936d26f8d
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ class InstallCommand extends Command
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 --no-dev -o install'));
$output->writeln(system('php bin/composer.phar --working-dir="'.$this->destination.'" --no-interaction --no-dev --prefer-dist -o install'));
$this->gitclone($output);
} else {

View File

@@ -154,7 +154,7 @@ class SelfupgradeCommand extends Command
}
$this->output->writeln("\nInstalling vendor dependencies");
$this->output->writeln(system('php bin/composer.phar --working-dir="'.$this->destination.'" --no-interaction --no-dev -o install'));
$this->output->writeln(system('php bin/composer.phar --working-dir="'.GRAV_ROOT.'" --no-interaction --no-dev --prefer-dist -o install'));
// clear cache after successful upgrade
$this->clearCache('all');