SPECS: xmltex.spec - repeated %postun, wtf ?

sparky sparky at pld-linux.org
Fri Dec 9 15:04:58 CET 2005


Author: sparky                       Date: Fri Dec  9 14:04:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- repeated %postun, wtf ?

---- Files affected:
SPECS:
   xmltex.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/xmltex.spec
diff -u SPECS/xmltex.spec:1.30 SPECS/xmltex.spec:1.31
--- SPECS/xmltex.spec:1.30	Wed Aug  3 17:00:15 2005
+++ SPECS/xmltex.spec	Fri Dec  9 15:04:53 2005
@@ -57,9 +57,6 @@
 %post
 [ ! -x %{_bindir}/texhash ] || /usr/bin/env - %{_bindir}/texhash 1>&2
 
-%postun
-[ ! -x %{_bindir}/texhash ] || /usr/bin/env - %{_bindir}/texhash 1>&2
-
 if ! grep -q 'TEXINPUTS\.pdfxmltex' /usr/share/texmf/web2c ; then
 cat >> /usr/share/texmf/web2c/texmf.cnf << END
 
@@ -92,7 +89,7 @@
 fi
 
 %postun
-[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 1>&2
+[ ! -x %{_bindir}/texhash ] || /usr/bin/env - %{_bindir}/texhash 1>&2
 
 %files
 %defattr(644,root,root,755)
@@ -107,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2005/12/09 14:04:53  sparky
+- repeated %postun, wtf ?
+
 Revision 1.30  2005/08/03 15:00:15  saq
 - avoid "%post scriptlet failed"
 - missing postun
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xmltex.spec?r1=1.30&r2=1.31&f=u




More information about the pld-cvs-commit mailing list