File tree 2 files changed +13
-7
lines changed
2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,16 @@ case "$ARCH" in
9
9
curl -sSO https://downloads.1password.com/linux/tar/stable/aarch64/1password-latest.tar.gz.sig
10
10
gpg --keyserver keyserver.ubuntu.com --recv-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22
11
11
gpg --verify 1password-latest.tar.gz.sig 1password-latest.tar.gz
12
- [ $? -eq 0 ] || { cd - && false ; }
13
- sudo tar -xf 1password-latest.tar.gz
14
- sudo mkdir -p /opt/1Password
15
- sudo mv 1password-* /* /opt/1Password
16
- sudo /opt/1Password/after-install.sh
17
- cd -
12
+ if [[ $? -eq 0 ]]; then
13
+ sudo tar -xf 1password-latest.tar.gz
14
+ sudo mkdir -p /opt/1Password
15
+ sudo mv 1password-* /* /opt/1Password
16
+ sudo /opt/1Password/after-install.sh
17
+ cd -
18
+ else
19
+ cd -
20
+ false
21
+ fi
18
22
;;
19
23
* )
20
24
# Install 1password and 1password-cli single script
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ if [[ "${ARCH}" == "aarch64" ]]; then
9
9
sudo apt update
10
10
sudo apt install -y snapd
11
11
fi
12
- sudo snap install --classic nvim && NEOVIM_SUCCESS=true
12
+ sudo snap install --classic nvim \
13
+ && sudo ln -sf /snap/bin/nvim /usr/local/bin/nvim \
14
+ && NEOVIM_SUCCESS=true
13
15
else
14
16
if wget -O nvim.tar.gz " https://github.com/neovim/neovim/releases/latest/download/nvim-linu${ARCH} .tar.gz" ; then
15
17
tar -xf nvim.tar.gz
You can’t perform that action at this time.
0 commit comments