From 4e4b35cb38a716996791ac80947140daff16bc37 Mon Sep 17 00:00:00 2001 From: wvengen <dev-java@willem.engen.nl> Date: Wed, 8 Mar 2017 13:50:39 +0100 Subject: [PATCH] Make preinstall work again (and also with Busybox) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ce7a4c9b7e4..56b36a75bc8 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "build-hot": "NODE_ENV=hot webpack --bail && NODE_ENV=hot webpack-dev-server --progress", "start": "yarn run build && lein ring server", "storybook": "start-storybook -p 9001", - "preinstall": "ps -fp $PPID | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'", + "preinstall": "echo $npm_execpath | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'", "test-jest": "jest" }, "jest": { -- GitLab