[packages/vim-idevim] 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:04 CEST 2014


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

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

 vim-idevim.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/vim-idevim.spec b/vim-idevim.spec
index 3a19d77..0d77e14 100644
--- a/vim-idevim.spec
+++ b/vim-idevim.spec
@@ -57,13 +57,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
-umask 002
-echo ':helptags %{_vimdatadir}/doc' | vim -e -s
+echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
 
 %postun
 /sbin/ldconfig
-umask 002
-echo ':helptags %{_vimdatadir}/doc' | vim -e -s
+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-idevim.git/commitdiff/4b62b83053080dd6ae69ecfb5adf47753d7d429a



More information about the pld-cvs-commit mailing list