Merge pull request #3840 from hikouki/master

Modify post-root-package-install script.
This commit is contained in:
Taylor Otwell 2016-07-27 23:14:20 -04:00 committed by GitHub
commit 5658575212

View File

@ -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"