Browse Source

Merge branch 'master' into develop

Graham Campbell 7 years ago
parent
commit
0203d5d866
1 changed files with 1 additions and 1 deletions
  1. 1 1
      composer.json

+ 1 - 1
composer.json

@@ -30,7 +30,7 @@
     },
     "scripts": {
         "post-root-package-install": [
-            "php -r \"copy('.env.example', '.env');\""
+            "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
         ],
         "post-create-project-cmd": [
             "php artisan key:generate"