Overwrite cmdtest when installing yarn (https://yarnpkg.com/lang/en/docs/install/#linux-tab)
This commit is contained in:
parent
6f2c44bd6f
commit
f2e13506dc
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 -
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue