Update netclient-install.sh

MacOS Mojave print on uname "Darwin" and not "darwin".
This commit is contained in:
pete1019 2021-12-13 10:40:51 +01:00 committed by GitHub
parent a412596a66
commit 64997faea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,6 +143,9 @@ case $(uname | tr '[:upper:]' '[:lower:]') in
darwin)
dist=netclient-darwin
;;
Darwin)
dist=netclient-darwin
;;
freebsd*)
if [ -z "$CPU_ARCH" ]; then
CPU_ARCH=$(uname -m)