SPECS: vim-plugin-taglist.spec - process helptags just once on upg...

glen glen at pld-linux.org
Mon Nov 14 09:03:36 CET 2005


Author: glen                         Date: Mon Nov 14 08:03:36 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- process helptags just once on upgrade

---- Files affected:
SPECS:
   vim-plugin-taglist.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/vim-plugin-taglist.spec
diff -u SPECS/vim-plugin-taglist.spec:1.5 SPECS/vim-plugin-taglist.spec:1.6
--- SPECS/vim-plugin-taglist.spec:1.5	Fri Apr 15 07:52:13 2005
+++ SPECS/vim-plugin-taglist.spec	Mon Nov 14 09:03:29 2005
@@ -50,8 +50,10 @@
 echo ':helptags %{_vimdatadir}/doc' | vim -e -s
 
 %postun
-umask 022
-echo ':helptags %{_vimdatadir}/doc' | vim -e -s
+if [ "$1" = 0 ]; then
+	umask 022
+	echo ':helptags %{_vimdatadir}/doc' | vim -e -s
+fi
 
 %files
 %defattr(644,root,root,755)
@@ -64,6 +66,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/11/14 08:03:29  glen
+- process helptags just once on upgrade
+
 Revision 1.5  2005/04/15 05:52:13  glen
 - use vimfiles
 - umask for scriptlets
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/vim-plugin-taglist.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list