From cbd778769877ce317173a9732b074e5fadeca7a3 Mon Sep 17 00:00:00 2001 From: Raphael <16480203+sundowndev@users.noreply.github.com> Date: Sat, 21 Sep 2019 16:17:55 +0200 Subject: [PATCH] npm config: ignore-scripts --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 670db99..21f3771 100644 --- a/install.sh +++ b/install.sh @@ -38,6 +38,11 @@ fi git config --global user.email "raphael@crvx.fr" git config --global user.name "sundowndev" +# If npm is installed, disable scripts at package installation +if type -p "npm" > /dev/null; then + npm config set ignore-scripts true +fi + # vim #mkdir -p ~/.vim/autoload #curl --insecure -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim