We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42e2bf0 commit a60ec67Copy full SHA for a60ec67
core/src/Console/SiteUpdateCommand.php
@@ -173,11 +173,14 @@ public function startUpdate()
173
$application->setAutoExit(false);
174
$application->run($input);
175
$this->line('<fg=green>Run Migrations</>');
176
-
177
exec('php ../install/cli-install.php --typeInstall=2 --removeInstall=y');
178
- $this->line('<fg=green>Remove Install Directory</>');
179
+ $this->line('<fg=green>Remove Install Directory</>');
180
self::rmdirs(MODX_BASE_PATH . 'install');
+
181
+ $this->line('<fg=green>Run Composer update</>');
182
+ exec('composer update');
183
184
$this->line('<fg=yellow;bg=blue>Now You use ' . $factoryName . '</>');
185
} else {
186
$this->line('<fg=yellow;bg=blue>You use almost current version</>');
0 commit comments