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

Commit 19fc161

Browse files
committed
Stop updating npm for rhel
1 parent ccaf4c7 commit 19fc161

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/vagrant-openshift/action/install_origin_asset_dependencies.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ def call(env)
3535
3636
if ! which npm > /dev/null 2>&1 ; then
3737
sudo yum -y install npm
38-
# Update npm, we need a newer version than is installed by yum
39-
sudo npm install [email protected] -g
38+
if $(test -e /etc/fedora-release)
39+
then
40+
# Update npm, we need a newer version than is installed by yum
41+
sudo npm install [email protected] -g
42+
fi
4043
fi
4144
4245
}

0 commit comments

Comments
 (0)