Skip to content

Commit

Permalink
Oops, forgot about sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Sep 16, 2019
1 parent 3a7a86d commit 5573706
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/travis/install.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
set -ex

if [[ ! -z $CHROME ]]; then
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
apt-get update -qqy
apt-get -qqy install google-chrome-stable
sudo apt-get update -qqy
sudo apt-get -qqy install google-chrome-stable
rm /etc/apt/sources.list.d/google-chrome.list
export CHROMEDRIVER_VERSION=`curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
Expand Down

0 comments on commit 5573706

Please sign in to comment.