Remove unused script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
be7241cfa8
commit
5e4c8585d1
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
|||
# If no network connection is available load latest available version
|
||||
if ( ping -c 1 -q 8.8.8.8 >/dev/null ); then
|
||||
GO_VER=$(curl -sSLf -m 2 'https://lv.luzifer.io/catalog-api/golang/latest.txt?p=version')
|
||||
if [ -e "${HOME}/.gimme/envs/go${GO_VER}.env" ]; then
|
||||
source "${HOME}/.gimme/envs/go${GO_VER}.env"
|
||||
else
|
||||
echo "Your Go version is outdated (latest would be ${GO_VER})"
|
||||
source "${HOME}/.gimme/envs/latest.env"
|
||||
fi
|
||||
else
|
||||
source "${HOME}/.gimme/envs/latest.env"
|
||||
fi
|
||||
|
Loading…
Reference in a new issue