Explorar o código

Fix netclient install on ARMv6

`uname -m` gives `armv6l` on e.g. raspberry PI zero. This was resulting in the switch defaulting to
`https://github.com/gravitl/netmaker/releases/download/0.9.3/netclient-armv6l` instead of 
`https://github.com/gravitl/netmaker/releases/download/0.9.3/netclient-armv6`
and a 404.
ethanfowler %!s(int64=3) %!d(string=hai) anos
pai
achega
b60c6a8d61
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      scripts/netclient-install.sh

+ 3 - 0
scripts/netclient-install.sh

@@ -127,6 +127,9 @@ case $(uname | tr '[:upper:]' '[:lower:]') in
 			aarch64)
                                 dist=netclient-arm64
 			;;
+			armv6l)
+                                dist=netclient-arm6
+			;;
 			armv7l)
                                 dist=netclient-arm7
 			;;