mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Final bootstrap tweak
This commit is contained in:
parent
07af1878be
commit
9d37bc2861
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ SWIFT_DIR=swift-$SWIFT_VERSION-RELEASE-ubuntu18.04
|
|||
SWIFT_FILENAME=$SWIFT_DIR.tar.gz
|
||||
|
||||
if [[ $(uname) = "Linux" ]]; then
|
||||
if which swiftc >/dev/null 2>/dev/null; then
|
||||
echo "*** swift is installed: $(swift --version | head -n1)"
|
||||
if which swift >/dev/null 2>/dev/null && swift --version | grep $SWIFT_VERSION >/dev/null 2>/dev/null; then
|
||||
echo "*** swift $SWIFT_VERSION is installed"
|
||||
else
|
||||
echo "*** installing swift"
|
||||
pushd $HOME
|
||||
|
|
|
|||
Loading…
Reference in a new issue