mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Merge pull request #581 from pre-commit/update_swift_urls
Update swift urls (the old ones 404d)
This commit is contained in:
commit
f5e4f7cb54
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ set -ex
|
||||||
|
|
||||||
. /etc/lsb-release
|
. /etc/lsb-release
|
||||||
if [ "$DISTRIB_CODENAME" = "trusty" ]; then
|
if [ "$DISTRIB_CODENAME" = "trusty" ]; then
|
||||||
SWIFT_URL='https://swift.org/builds/swift-3.0.2-release/ubuntu1404/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu14.04.tar.gz'
|
SWIFT_URL='https://swift.org/builds/swift-3.1.1-release/ubuntu1404/swift-3.1.1-RELEASE/swift-3.1.1-RELEASE-ubuntu14.04.tar.gz'
|
||||||
else
|
else
|
||||||
SWIFT_URL='https://swift.org/builds/swift-3.0.2-release/ubuntu1604/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu16.04.tar.gz'
|
SWIFT_URL='https://swift.org/builds/swift-3.1.1-release/ubuntu1604/swift-3.1.1-RELEASE/swift-3.1.1-RELEASE-ubuntu16.04.tar.gz'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p /tmp/swift
|
mkdir -p /tmp/swift
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue