From 45781602c9a02bd30986ea59a5603deaebf9c435 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 22 Dec 2017 12:20:19 +0800 Subject: [PATCH] install-deps.sh: do not download i18n apt index and do not fail the `apt-get update` command, if any mirror is not reachable. Signed-off-by: Kefu Chai --- install-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index b8c1f8a1b3f..0e86a9114dc 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -45,7 +45,7 @@ deb http://mirror.yandex.ru/mirrors/launchpad/ubuntu-toolchain-r $dist main EOF # import PPA's signing key into APT's keyring $SUDO apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F - $SUDO apt-get update + $SUDO apt-get -y update -o Acquire::Languages=none -o Acquire::Translation=none || true $SUDO apt-get install -y g++-7 fi -- 2.39.5