Merge pull request #866 from lbryio/fix-yarn-ubuntu-17-04

Overwrite cmdtest when installing yarn
This commit is contained in:
Liam Cardenas 2017-12-13 13:15:01 -08:00 committed by GitHub
commit 8d6a2ef0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,7 @@ if ! cmd_exists yarn; then
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | $SUDO apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | $SUDO tee /etc/apt/sources.list.d/yarn.list
$SUDO apt-get update
$SUDO apt-get install yarn
$SUDO apt-get -o Dpkg::Options::="--force-overwrite" install yarn
elif $OSX; then
brew install yarn
else