diff --git a/module/CLI/src/Factory/InstallApplicationFactory.php b/module/CLI/src/Factory/InstallApplicationFactory.php
index e4d4beb9..742b5b70 100644
--- a/module/CLI/src/Factory/InstallApplicationFactory.php
+++ b/module/CLI/src/Factory/InstallApplicationFactory.php
@@ -1,6 +1,4 @@
printTitle($output, 'DATABASE');
- if ($appConfig->hasDatabase()) {
- $keepConfig = $this->questionHelper->ask($input, $output, new ConfirmationQuestion(
- 'Do you want to keep imported database config? (Y/n): '
- ));
- if ($keepConfig) {
- // If the user selected to keep DB config and is configured to use sqlite, copy DB file
- if ($appConfig->getDatabase()['DRIVER'] === self::DATABASE_DRIVERS['SQLite']) {
- try {
- $this->filesystem->copy(
- $appConfig->getImportedInstallationPath() . '/' . CustomizableAppConfig::SQLITE_DB_PATH,
- CustomizableAppConfig::SQLITE_DB_PATH
- );
- } catch (IOException $e) {
- $output->writeln('It wasn\'t possible to import the SQLite database');
- throw $e;
- }
+ if ($appConfig->hasDatabase() && $this->questionHelper->ask($input, $output, new ConfirmationQuestion(
+ 'Do you want to keep imported database config? (Y/n): '
+ ))) {
+ // If the user selected to keep DB config and is configured to use sqlite, copy DB file
+ if ($appConfig->getDatabase()['DRIVER'] === self::DATABASE_DRIVERS['SQLite']) {
+ try {
+ $this->filesystem->copy(
+ $appConfig->getImportedInstallationPath() . '/' . CustomizableAppConfig::SQLITE_DB_PATH,
+ CustomizableAppConfig::SQLITE_DB_PATH
+ );
+ } catch (IOException $e) {
+ $output->writeln('It wasn\'t possible to import the SQLite database');
+ throw $e;
}
-
- return;
}
+
+ return;
}
// Select database type
diff --git a/module/CLI/src/Install/Plugin/Factory/DefaultConfigCustomizerPluginFactory.php b/module/CLI/src/Install/Plugin/Factory/DefaultConfigCustomizerPluginFactory.php
index 6e1ea7a0..78e5a87a 100644
--- a/module/CLI/src/Install/Plugin/Factory/DefaultConfigCustomizerPluginFactory.php
+++ b/module/CLI/src/Install/Plugin/Factory/DefaultConfigCustomizerPluginFactory.php
@@ -1,6 +1,4 @@