Skip to content

Commit

Permalink
Merge pull request #28 from LionsAd/pin-chrome-to-43
Browse files Browse the repository at this point in the history
[Bug] Fix Google Chrome by allowing to pin it to version 43.
  • Loading branch information
LionsAd committed Jul 25, 2015
2 parents 03d3e16 + a893848 commit 7eb1290
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions functions/behat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,16 @@ function drupal_ti_ensure_chrome() {
return
fi

# @todo Move to defaults API.
if [ -z "$DRUPAL_TI_BEHAT_CHROME_URL" ]
then
DRUPAL_TI_BEHAT_CHROME_URL="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
fi

drupal_ti_ensure_apt_get
(
cd $DRUPAL_TI_DIST_DIR
# @todo Make version configurable.
wget -O google-chrome-stable_current_amd64.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
wget -O google-chrome-stable_current_amd64.deb "$DRUPAL_TI_BEHAT_CHROME_URL"
dpkg -x google-chrome-stable_current_amd64.deb .
)
drupal_ti_ensure_bin_dir
Expand Down

0 comments on commit 7eb1290

Please sign in to comment.