Skip to content

Commit

Permalink
npm view shows what's in npm, not installed locally. we want npm list
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Dec 5, 2016
1 parent 8b42388 commit 9db67c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/oref0-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ else
(cd ~/src && git clone git://github.com/openaps/oref0.git) || die "Couldn't clone oref0"
fi
echo Checking oref0 installation
npm view oref0 version | egrep ^0.3. || (echo Installing latest oref0 && sudo npm install -g oref0)
npm list -g oref0 | egrep ^0.3. || (echo Installing latest oref0 && sudo npm install -g oref0)
#(echo Installing latest oref0 dev && cd $HOME/src/oref0/ && npm run global-install)

echo Checking mmeowlink installation
Expand Down

0 comments on commit 9db67c4

Please sign in to comment.