From f2e13506dc12657f7491a0322bd9031ba02a5722 Mon Sep 17 00:00:00 2001 From: Igor Gassmann Date: Wed, 13 Dec 2017 10:32:41 -0300 Subject: [PATCH] Overwrite cmdtest when installing yarn (https://yarnpkg.com/lang/en/docs/install/#linux-tab) --- build/install_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/install_deps.sh b/build/install_deps.sh index 34a212dfe..2e88c67d9 100755 --- a/build/install_deps.sh +++ b/build/install_deps.sh @@ -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