[packages/vim-plugin-matchit] 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:26 CEST 2014
commit f4e0165e9b6ca5709d7f2004c55ce9533b12bda9
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jun 25 10:03:25 2014 +0300
update vim helptags in ex mode (without terminal reset) that does not exit 1
vim-plugin-matchit.spec | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/vim-plugin-matchit.spec b/vim-plugin-matchit.spec
index 9e36cd8..52e30de 100644
--- a/vim-plugin-matchit.spec
+++ b/vim-plugin-matchit.spec
@@ -50,14 +50,10 @@ cp -a doc plugin $RPM_BUILD_ROOT%{_vimdatadir}
rm -rf $RPM_BUILD_ROOT
%post
-umask 022
-echo ':helptags %{_vimdatadir}/doc' | vim -e -s
+echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
%postun
-if [ "$1" = 0 ]; then
- umask 022
- echo ':helptags %{_vimdatadir}/doc' | vim -e -s
-fi
+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-matchit.git/commitdiff/f4e0165e9b6ca5709d7f2004c55ce9533b12bda9
More information about the pld-cvs-commit
mailing list