mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +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
|
SWIFT_FILENAME=$SWIFT_DIR.tar.gz
|
||||||
|
|
||||||
if [[ $(uname) = "Linux" ]]; then
|
if [[ $(uname) = "Linux" ]]; then
|
||||||
if which swiftc >/dev/null 2>/dev/null; then
|
if which swift >/dev/null 2>/dev/null && swift --version | grep $SWIFT_VERSION >/dev/null 2>/dev/null; then
|
||||||
echo "*** swift is installed: $(swift --version | head -n1)"
|
echo "*** swift $SWIFT_VERSION is installed"
|
||||||
else
|
else
|
||||||
echo "*** installing swift"
|
echo "*** installing swift"
|
||||||
pushd $HOME
|
pushd $HOME
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue