This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
sh -e /etc/init.d/xvfb start
6
6
7
- DARTIUM_ZIP=http://storage.googleapis.com/dart-archive/channels/$CHANNEL /raw /latest/dartium/dartium-linux-x64-release.zip
7
+ DARTIUM_ZIP=http://storage.googleapis.com/dart-archive/channels/$CHANNEL /release /latest/dartium/dartium-linux-x64-release.zip
8
8
FF_TAR=http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$FIREFOX_VERSION /linux-x86_64/en-US/firefox-$FIREFOX_VERSION .tar.bz2
9
9
CHROME_DEB=https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
10
10
11
11
shopt -s nocasematch
12
12
13
13
if [[ $BROWSERS =~ " dartium" ]]; then
14
14
echo " Installing Dartium from $DARTIUM_ZIP "
15
- curl $DARTIUM_ZIP > dartium.zip
15
+ curl -L $DARTIUM_ZIP > dartium.zip
16
16
unzip dartium.zip > /dev/null
17
17
rm -rf dartium
18
18
rm dartium.zip
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ echo Fetch Dart channel: $CHANNEL
8
8
DART_SDK_ZIP=dartsdk-linux-x64-release.zip
9
9
10
10
echo http://storage.googleapis.com/dart-archive/channels/$CHANNEL /release/latest/sdk/$DART_SDK_ZIP
11
- curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL /release/latest/sdk/$DART_SDK_ZIP > $DART_SDK_ZIP
11
+ curl -L http://storage.googleapis.com/dart-archive/channels/$CHANNEL /release/latest/sdk
12
+ /$DART_SDK_ZIP > $DART_SDK_ZIP
12
13
echo Fetched new dart version $( unzip -p $DART_SDK_ZIP dart-sdk/version)
13
14
rm -rf dart-sdk
14
15
unzip $DART_SDK_ZIP > /dev/null
You can’t perform that action at this time.
0 commit comments