Skip to content

Commit

Permalink
Added display of the message Running post-install actions
Browse files Browse the repository at this point in the history
  • Loading branch information
anklimsk committed Nov 26, 2018
1 parent 62963b3 commit 7613655
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 169 deletions.
11 changes: 9 additions & 2 deletions Console/Command/CakeInstallerShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,10 +540,17 @@ protected function _install() {
$this->out(null, 0);
$this->progress->draw();
$this->hr(1);
if (!$this->InstallerCheck->isAppInstalled(null, true) ||
!$this->InstallerCompleted->intsallCompleted()) {
if (!$this->InstallerCheck->isAppInstalled(null, true)) {
$result = false;
}
if ($result) {
$this->out('<info>' . __d('cake_installer', 'Running post-install actions') . '</info>');
$this->waiting->animateMessage();
if (!$this->InstallerCompleted->intsallCompleted()) {
$result = false;
}
$this->waiting->hideMessage();
}
}
if ($result) {
$this->out('<success>' . __d('cake_installer', 'The installation process is completed successfully.') . '</success>');
Expand Down
Binary file modified Locale/rus/LC_MESSAGES/cake_installer.mo
Binary file not shown.
Loading

0 comments on commit 7613655

Please sign in to comment.