diff options
-rwxr-xr-x | scripts/install.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 0df9102cb..65db80170 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -85,9 +85,7 @@ cd "$TMP" \ echo "Please upgrade node before continuing." exit $ret fi) \ - && (if ! [ "$make" = "NOMAKE" ]; then - $make clean install - else + && (if [ "$make" = "NOMAKE" ] || ! $make clean install; then $node cli.js cache clean $node cli.js rm npm --force --global $node cli.js install . --force --global |