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


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

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

 vim-plugin-bash.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vim-plugin-bash.spec b/vim-plugin-bash.spec
index c29a2c1..f0054b7 100644
--- a/vim-plugin-bash.spec
+++ b/vim-plugin-bash.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-bash.git/commitdiff/dda0490abb5a4351d7d6e30ca3f46674d781fa56



More information about the pld-cvs-commit mailing list