We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b754c7b commit b060f2aCopy full SHA for b060f2a
1 file changed
install.sh
@@ -22,10 +22,14 @@ ARCH="$(uname -m)"
22
CMD="ops"
23
24
case "$OS-$ARCH" in
25
-(Linux-x86_64)
+(Linux-x86_64)
26
SUFFIX="_linux_amd64"
27
EXT=".tar.gz"
28
;;
29
+(Linux-aarch64)
30
+ SUFFIX="_linux_arm64"
31
+ EXT=".tar.gz"
32
+;;
33
(Linux-arm64)
34
SUFFIX="_linux_arm64"
35
@@ -66,12 +70,15 @@ else
66
70
tar xzvf "/tmp/$FILE" -C ~/.local/bin "$CMD"
67
71
fi
68
72
73
+
69
74
if ! test -e ~/.local/bin/ops*
75
then echo "cannot install ops - download and unpack it in a folder in the path from here:"
76
echo "$URL"
77
exit 1
78
79
80
+ln -sf ~/.local/bin/ops ~/.local/bin/nuv
81
82
if ! which ops | grep $HOME/.local/bin
83
then
84
echo "$HOME/.local/bin is not in the path - adding it"
0 commit comments