Merge pull request #375 from gravitl/develop

netclient script hotfix
This commit is contained in:
Alex 2021-10-20 12:30:41 -04:00 committed by GitHub
commit cb1b384990
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,10 +11,10 @@ fi
dist=netclient
echo "OS Version = $OSTYPE"
echo "OS Version = $(uname)"
echo "Netclient Version = $VERSION"
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
if [[ "$(uname)" == "Linux"* ]]; then
arch=$(uname -i)
echo "CPU ARCH = $arch"
if [ "$arch" == 'x86_64' ];
@ -29,11 +29,8 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
then
dist=netclient-arm64
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
elif [[ "$(uname)" == "Darwin"* ]]; then
dist=netclient-darwin
else
echo "This OS is not currently supported via automated install"
exit 1
fi
echo "Binary = $dist"