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


commit 792e890748490f08cab18e7745f4a4d23d347eee
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jun 25 10:03:06 2014 +0300

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

 vim-plugin-AutomaticTeX.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vim-plugin-AutomaticTeX.spec b/vim-plugin-AutomaticTeX.spec
index a07f441..3a12cbe 100644
--- a/vim-plugin-AutomaticTeX.spec
+++ b/vim-plugin-AutomaticTeX.spec
@@ -35,10 +35,10 @@ cp -r doc ftplugin syntax $RPM_BUILD_ROOT%{_vimfiles}
 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-AutomaticTeX.git/commitdiff/792e890748490f08cab18e7745f4a4d23d347eee



More information about the pld-cvs-commit mailing list