Commit 16ea0eef authored by Nicolas Widart's avatar Nicolas Widart Committed by GitHub

Merge pull request #382 from johnsvenn/feature/install-messaging-local

Tell users about the -f force flag for the asgard installer 
parents daaedb38 47ea177b
...@@ -31,7 +31,7 @@ class ProtectInstaller implements SetupScript ...@@ -31,7 +31,7 @@ class ProtectInstaller implements SetupScript
public function fire(Command $command) public function fire(Command $command)
{ {
if ($this->finder->isFile('.env') && ! $command->option('force')) { if ($this->finder->isFile('.env') && ! $command->option('force')) {
throw new Exception('Asgard has already been installed. You can already log into your administration.'); throw new Exception('Asgard has already been installed. You can already log into your administration. Run \'php artisan asgard:install -f\' to force replace the .env file.');
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment