diff --git a/composer.json b/composer.json index 1de3a8236..0aeb91958 100644 --- a/composer.json +++ b/composer.json @@ -109,11 +109,6 @@ } }, "scripts": { - "post-install-cmd": [ - "cp -r 'hooks/' '.git/hooks/'", - "php -r \"copy('hooks/pre-commit', '.git/hooks/pre-commit');\"", - "php -r \"chmod('.git/hooks/pre-commit', 0777);\"" - ], "post-update-cmd": [ "@php artisan vendor:publish --tag=laravel-assets --ansi --force", "Illuminate\\Foundation\\ComposerScripts::postUpdate" diff --git a/hooks/pre-commit b/hooks/pre-commit deleted file mode 100644 index fc96e9766..000000000 --- a/hooks/pre-commit +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# Detect whether /dev/tty is available & functional -if sh -c ": >/dev/tty" >/dev/null 2>/dev/null; then - exec