diff --git a/overrides/akaunting/module/Commands/InstallCommand.php b/overrides/akaunting/module/Commands/InstallCommand.php index b5bf6318c..a49d4cb5f 100644 --- a/overrides/akaunting/module/Commands/InstallCommand.php +++ b/overrides/akaunting/module/Commands/InstallCommand.php @@ -31,6 +31,11 @@ class InstallCommand extends Command { $this->prepare(); + if ($this->getModel()) { + $this->comment("Module [{$this->alias}] is already installed."); + return; + } + $this->changeRuntime(); // Create db