From 50f9ea7d8580933a1601eddba38100a49844b3dd Mon Sep 17 00:00:00 2001 From: acev Date: Thu, 6 Oct 2016 00:15:53 +0100 Subject: [PATCH] composer cp bug fix --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c88ea38..b4abc75 100644 --- a/composer.json +++ b/composer.json @@ -48,8 +48,8 @@ }, "scripts": { "post-root-package-install": [ - "@composer update", "php -r \"copy('core/.env.example', 'core/.env');\"", + "@composer update", "php artisan key:generate", "php artisan migrate", "php artisan db:seed --no-interaction --class=UsersTableSeeder", @@ -62,6 +62,7 @@ ], "post-install-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postInstall", + "php -r \"copy('core/.env.example', 'core/.env');\"", "php artisan optimize" ], "post-update-cmd": [