[packages/vim-plugin-lua] 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:23 CEST 2014
commit 4bdfb0f335579310ffefe5394963933021fa82f8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jun 25 10:03:22 2014 +0300
update vim helptags in ex mode (without terminal reset) that does not exit 1
vim-plugin-lua.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vim-plugin-lua.spec b/vim-plugin-lua.spec
index 7525a5d..dc45241 100644
--- a/vim-plugin-lua.spec
+++ b/vim-plugin-lua.spec
@@ -47,10 +47,10 @@ cp -a %{SOURCE1} lua-support/doc/* $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-lua.git/commitdiff/4bdfb0f335579310ffefe5394963933021fa82f8
More information about the pld-cvs-commit
mailing list