From 3f2f7631206c8872e527ae2f2e5bf89588bafb8d Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 14 May 2019 15:28:39 +0200 Subject: [PATCH] [doc] Update update-ci.sh to skip cask upgrades that need sudo [ci skip] --- doc/macos-ci-install/update-ci.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/macos-ci-install/update-ci.sh b/doc/macos-ci-install/update-ci.sh index cef5a008..dd2a946e 100644 --- a/doc/macos-ci-install/update-ci.sh +++ b/doc/macos-ci-install/update-ci.sh @@ -5,8 +5,12 @@ echo "Updating homebrew..." brew=/usr/local/bin/brew ${brew} update ${brew} upgrade -echo "Updating homebrew casks..." -${brew} cask upgrade + +# A cask upgrade may require sudo, so we cannot do this +# with an unattended setup +#echo "Updating homebrew casks..." +#${brew} cask upgrade + ${brew} cleanup # Updates PIP packages installed -- GitLab