diff options
Diffstat (limited to 'neovim-git.install')
-rw-r--r-- | neovim-git.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/neovim-git.install b/neovim-git.install new file mode 100644 index 000000000000..26b704b27fcb --- /dev/null +++ b/neovim-git.install @@ -0,0 +1,16 @@ +# $1: new package version +post_install() { + echo ":: The Neovim executable is called 'nvim'." + echo ":: To use your existing Vim configuration:" + echo " ln -s ~/.vimrc ~/.nvimrc" + echo " ln -s ~/.vim ~/.nvim" + echo ":: See ':help nvim' for more information on Neovim." +} + +# $1: new package version +# $2: old package version +post_upgrade() { + if [[ "$(vercmp ${2} 0.r2965.51c6f38)" -le 0 ]]; then + post_install "${1}" + fi +} |