Merge pull request #4997 from devansh-webkul/installer-folder-removed

Removed installer folder when GUI installation completed
This commit is contained in:
Glenn Hermans 2021-07-07 18:54:10 +02:00 committed by GitHub
commit 7da96f6701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,11 @@ class Install extends Command
$result = shell_exec('composer dump-autoload');
$this->info($result);
// removing the installer directory
if (is_dir('public/installer')) {
shell_exec('rm -rf public/installer');
}
// final information
$this->info('-----------------------------');
$this->info('Congratulations!');