[packages/vim-plugin-cvim] update vim helptags in ex mode (without terminal reset) that does not exit 1

glen glen at pld-linux.org
Wed Jun 25 09:03:17 CEST 2014


commit 563bc877873495d6957aa8eaf471b68ec6e75688
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jun 25 10:03:15 2014 +0300

    update vim helptags in ex mode (without terminal reset) that does not exit 1

 vim-plugin-cvim.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vim-plugin-cvim.spec b/vim-plugin-cvim.spec
index 03e05af..077f6c2 100644
--- a/vim-plugin-cvim.spec
+++ b/vim-plugin-cvim.spec
@@ -50,10 +50,10 @@ cp -a %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 rm -rf $RPM_BUILD_ROOT
 
 %post
-vim -c "helptags %{_vimdatadir}/doc" -c "q"
+echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
 
 %postun
-vim -c "helptags %{_vimdatadir}/doc" -c "q"
+echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
 
 %files
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim-plugin-cvim.git/commitdiff/563bc877873495d6957aa8eaf471b68ec6e75688



More information about the pld-cvs-commit mailing list