diff --git a/Blacklight/build/ComposerScripts.php b/Blacklight/build/ComposerScripts.php index 06d75ffb2..55bf8a1f9 100644 --- a/Blacklight/build/ComposerScripts.php +++ b/Blacklight/build/ComposerScripts.php @@ -24,20 +24,6 @@ use Illuminate\Foundation\Application; class ComposerScripts { - public static function postInstallCmd() - { - $last = $output = $return = null; - if ((int) getenv('COMPOSER_DEV_MODE') === 1) { - echo 'Updating git hooks... '; - $last = exec('build/git-hooks/addHooks.sh', $output, $return); - if ($return > 0) { - echo PHP_EOL; - exit($last); - } - echo 'done'.PHP_EOL; - } - } - /** * Handle the post-install Composer event. * diff --git a/composer.json b/composer.json index 80060f5f6..e24f2f4e7 100755 --- a/composer.json +++ b/composer.json @@ -177,8 +177,7 @@ "@php artisan key:generate --ansi" ], "post-install-cmd": [ - "Blacklight\\build\\ComposerScripts::postInstall", - "Blacklight\\build\\ComposerScripts::postInstallCmd" + "Blacklight\\build\\ComposerScripts::postInstall" ], "post-update-cmd": [ "Blacklight\\build\\ComposerScripts::postUpdate",