Skip to content

Commit

Permalink
Ah, a tricky combination of sudo and stream redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Sep 16, 2019
1 parent 5f43305 commit 271ac61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set -ex

if [[ ! -z $CHROME ]]; then
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update -qqy
sudo apt-get -qqy install google-chrome-stable
sudo rm /etc/apt/sources.list.d/google-chrome.list
Expand Down

0 comments on commit 271ac61

Please sign in to comment.