[packages/neovim] add post install banner

glen glen at pld-linux.org
Fri Sep 16 08:58:08 CEST 2016


commit b086dcf2c4368252b2aee27d5a23e64b7f162f5f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Sep 16 09:57:12 2016 +0300

    add post install banner
    
    shamelessly ripped it from brew install output

 neovim.spec | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
---
diff --git a/neovim.spec b/neovim.spec
index d31c4f8..3b251bb 100644
--- a/neovim.spec
+++ b/neovim.spec
@@ -103,6 +103,23 @@ rm -rf $RPM_BUILD_ROOT
 %post
 %update_desktop_database
 %update_icon_cache hicolor
+%banner -e -o %{name} << 'EOF'
+
+The Neovim executable is called 'nvim'. To use your existing Vim
+configuration:
+    ln -s ~/.vim ~/.config/nvim
+    ln -s ~/.vimrc ~/.config/nvim/init.vim
+See ':help nvim' for more information on Neovim.
+
+If you want support for Python plugins such as YouCompleteMe, you need
+to install a Python module in addition to Neovim itself.
+
+See ':help provider-python' or this page for more information:
+    http://neovim.io/doc/user/provider.html
+
+If you have any questions, have a look at:
+    https://github.com/neovim/neovim/wiki/FAQ.
+EOF
 
 %postun
 %update_desktop_database
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/neovim.git/commitdiff/b086dcf2c4368252b2aee27d5a23e64b7f162f5f



More information about the pld-cvs-commit mailing list