SPECS: xmltex.spec - avoid "%post scriptlet failed" - missing postun
saq
saq at pld-linux.org
Wed Aug 3 17:00:20 CEST 2005
Author: saq Date: Wed Aug 3 15:00:20 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- avoid "%post scriptlet failed"
- missing postun
---- Files affected:
SPECS:
xmltex.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: SPECS/xmltex.spec
diff -u SPECS/xmltex.spec:1.29 SPECS/xmltex.spec:1.30
--- SPECS/xmltex.spec:1.29 Mon May 9 20:15:13 2005
+++ SPECS/xmltex.spec Wed Aug 3 17:00:15 2005
@@ -55,7 +55,10 @@
rm -rf $RPM_BUILD_ROOT
%post
-[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 1>&2
+[ ! -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
@@ -104,6 +107,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2005/08/03 15:00:15 saq
+- avoid "%post scriptlet failed"
+- missing postun
+
Revision 1.29 2005/05/09 18:15:13 adamg
- release 4 for Th
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/xmltex.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list