fix swift 5.2 link (#454)

This commit is contained in:
saicu 2020-03-26 14:56:57 +01:00 committed by GitHub
parent c0554e2e40
commit cf8be421dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -89,8 +89,8 @@ This guide will install Swift 5.2.0. Visit the [Swift Downloads](https://swift.o
Download and decompress the Swift toolchain.
```sh
wget https://swift.org/builds/swift-5.2.0-release/ubuntu1804/swift-5.2.0-RELEASE/swift-5.2.0-RELEASE-ubuntu18.04.tar.gz
tar xzf swift-5.2.0-RELEASE-ubuntu18.04.tar.gz
wget https://swift.org/builds/swift-5.2-release/ubuntu1804/swift-5.2-RELEASE/swift-5.2-RELEASE-ubuntu18.04.tar.gz
tar xzf swift-5.2-RELEASE-ubuntu18.04.tar.gz
```
!!! note
@ -102,7 +102,7 @@ Move Swift somewhere easy to acess. This guide will use `/swift` with each compi
```sh
sudo mkdir /swift
sudo mv swift-5.2.0-RELEASE-ubuntu18.04 /swift/5.2.0
sudo mv swift-5.2-RELEASE-ubuntu18.04 /swift/5.2.0
```
Add Swift to `/usr/bin` so it can be executed by `vapor` and `root`.