Merge pull request #866 from lbryio/fix-yarn-ubuntu-17-04
Overwrite cmdtest when installing yarn
This commit is contained in:
commit
8d6a2ef0d6
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ if ! cmd_exists yarn; then
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | $SUDO apt-key add -
|
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
|
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 update
|
||||||
$SUDO apt-get install yarn
|
$SUDO apt-get -o Dpkg::Options::="--force-overwrite" install yarn
|
||||||
elif $OSX; then
|
elif $OSX; then
|
||||||
brew install yarn
|
brew install yarn
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue