Skip to content

Commit b060f2a

Browse files
committed
fixing debian and aliasing nuv
1 parent b754c7b commit b060f2a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

install.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ ARCH="$(uname -m)"
2222
CMD="ops"
2323

2424
case "$OS-$ARCH" in
25-
(Linux-x86_64)
25+
(Linux-x86_64)
2626
SUFFIX="_linux_amd64"
2727
EXT=".tar.gz"
2828
;;
29+
(Linux-aarch64)
30+
SUFFIX="_linux_arm64"
31+
EXT=".tar.gz"
32+
;;
2933
(Linux-arm64)
3034
SUFFIX="_linux_arm64"
3135
EXT=".tar.gz"
@@ -66,12 +70,15 @@ else
6670
tar xzvf "/tmp/$FILE" -C ~/.local/bin "$CMD"
6771
fi
6872

73+
6974
if ! test -e ~/.local/bin/ops*
7075
then echo "cannot install ops - download and unpack it in a folder in the path from here:"
7176
echo "$URL"
7277
exit 1
7378
fi
7479

80+
ln -sf ~/.local/bin/ops ~/.local/bin/nuv
81+
7582
if ! which ops | grep $HOME/.local/bin
7683
then
7784
echo "$HOME/.local/bin is not in the path - adding it"

0 commit comments

Comments
 (0)