Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Stop updating npm for rhel
Browse files Browse the repository at this point in the history
  • Loading branch information
danmcp committed Oct 12, 2016
1 parent ccaf4c7 commit 19fc161
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ def call(env)
if ! which npm > /dev/null 2>&1 ; then
sudo yum -y install npm
# Update npm, we need a newer version than is installed by yum
sudo npm install [email protected] -g
if $(test -e /etc/fedora-release)

This comment has been minimized.

Copy link
@stevekuznetsov

stevekuznetsov Oct 19, 2016

Contributor

This would have been more stable as a version check

then
# Update npm, we need a newer version than is installed by yum
sudo npm install [email protected] -g
fi
fi
}
Expand Down

0 comments on commit 19fc161

Please sign in to comment.