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


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

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

 vim-plugin-taglist.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/vim-plugin-taglist.spec b/vim-plugin-taglist.spec
index 7b8df6b..9e1caf1 100644
--- a/vim-plugin-taglist.spec
+++ b/vim-plugin-taglist.spec
@@ -46,14 +46,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-taglist.git/commitdiff/42c99b4faabc21993aa0cd7525e92b04e20382f7



More information about the pld-cvs-commit mailing list