[packages/vim-plugin-checksyntax] 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:14 CEST 2014


commit 259e35788eaf59f73f131938d82d2edbc31fc5be
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jun 25 10:03:12 2014 +0300

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

 vim-plugin-checksyntax.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vim-plugin-checksyntax.spec b/vim-plugin-checksyntax.spec
index bf4d5db..7b4d1eb 100644
--- a/vim-plugin-checksyntax.spec
+++ b/vim-plugin-checksyntax.spec
@@ -36,10 +36,10 @@ gzip -9nf $RPM_BUILD_ROOT%{_vimdatadir}/doc/checksyntax.txt
 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-checksyntax.git/commitdiff/259e35788eaf59f73f131938d82d2edbc31fc5be



More information about the pld-cvs-commit mailing list