SPECS: jadetex.spec - avoid "%post scriptlet failed"

saq saq at pld-linux.org
Wed Aug 3 16:48:30 CEST 2005


Author: saq                          Date: Wed Aug  3 14:48:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- avoid "%post scriptlet failed"

---- Files affected:
SPECS:
   jadetex.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/jadetex.spec
diff -u SPECS/jadetex.spec:1.39 SPECS/jadetex.spec:1.40
--- SPECS/jadetex.spec:1.39	Mon Apr 18 18:59:11 2005
+++ SPECS/jadetex.spec	Wed Aug  3 16:48:25 2005
@@ -67,10 +67,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
+[ ! -x %{_bindir}/texhash ] || /usr/bin/env - %{_bindir}/texhash 1>&2
 
 %files
 %defattr(644,root,root,755)
@@ -86,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2005/08/03 14:48:25  saq
+- avoid "%post scriptlet failed"
+
 Revision 1.39  2005/04/18 16:59:11  mmazur
 - rel 3 for th
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/jadetex.spec?r1=1.39&r2=1.40&f=u




More information about the pld-cvs-commit mailing list