We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f608cb + c7b9222 commit cb1b384Copy full SHA for cb1b384
scripts/netclient-install.sh
@@ -11,10 +11,10 @@ fi
11
12
dist=netclient
13
14
-echo "OS Version = $OSTYPE"
+echo "OS Version = $(uname)"
15
echo "Netclient Version = $VERSION"
16
17
-if [[ "$OSTYPE" == "linux-gnu"* ]]; then
+if [[ "$(uname)" == "Linux"* ]]; then
18
arch=$(uname -i)
19
echo "CPU ARCH = $arch"
20
if [ "$arch" == 'x86_64' ];
@@ -29,11 +29,8 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
29
then
30
dist=netclient-arm64
31
fi
32
-elif [[ "$OSTYPE" == "darwin"* ]]; then
+elif [[ "$(uname)" == "Darwin"* ]]; then
33
dist=netclient-darwin
34
-else
35
- echo "This OS is not currently supported via automated install"
36
- exit 1
37
38
39
echo "Binary = $dist"
0 commit comments