chezmoi nvim debian手動安裝腳本
This commit is contained in:
parent
881fa42086
commit
71d5221a01
@ -26,9 +26,12 @@ fi
|
|||||||
curl -LO https://github.com/neovim/neovim/releases/download/v0.11.1/nvim-linux-x86_64.appimage
|
curl -LO https://github.com/neovim/neovim/releases/download/v0.11.1/nvim-linux-x86_64.appimage
|
||||||
chmod u+x nvim-linux-x86_64.appimage
|
chmod u+x nvim-linux-x86_64.appimage
|
||||||
./nvim-linux-x86_64.appimage --appimage-extract
|
./nvim-linux-x86_64.appimage --appimage-extract
|
||||||
./squashfs-root/usr/bin/nvim
|
if [ "$EUID" -ne 0 ]; then
|
||||||
cp -rf squashfs-root/usr/* /usr/
|
sudo cp -rf squashfs-root/usr/* /usr/
|
||||||
rm -r nvim-linux-x86_64.appimage squashfs-root
|
else
|
||||||
|
cp -rf squashfs-root/usr/* /usr/
|
||||||
|
fi
|
||||||
|
rm -r nvim-linux-x86_64.appimage squashfs-root
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user