SPECS: adetex.spec, hugelatex.spec - avoid "%post scriptlet failed"
saq
saq at pld-linux.org
Wed Aug 3 17:00:09 CEST 2005
Author: saq Date: Wed Aug 3 15:00:09 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- avoid "%post scriptlet failed"
---- Files affected:
SPECS:
adetex.spec (1.13 -> 1.14) , hugelatex.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/adetex.spec
diff -u SPECS/adetex.spec:1.13 SPECS/adetex.spec:1.14
--- SPECS/adetex.spec:1.13 Tue Sep 9 13:05:24 2003
+++ SPECS/adetex.spec Wed Aug 3 17:00:03 2005
@@ -63,10 +63,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)
@@ -82,6 +82,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2005/08/03 15:00:03 saq
+- avoid "%post scriptlet failed"
+
Revision 1.13 2003/09/09 11:05:24 ankry
- sorted (Build)Requires
================================================================
Index: SPECS/hugelatex.spec
diff -u SPECS/hugelatex.spec:1.14 SPECS/hugelatex.spec:1.15
--- SPECS/hugelatex.spec:1.14 Wed Aug 20 17:11:51 2003
+++ SPECS/hugelatex.spec Wed Aug 3 17:00:03 2005
@@ -36,10 +36,10 @@
ln -s %{_bindir}/tex $RPM_BUILD_ROOT%{_bindir}/%{name}
%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
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,6 +55,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2005/08/03 15:00:03 saq
+- avoid "%post scriptlet failed"
+
Revision 1.14 2003/08/20 15:11:51 qboosh
- no // in paths, other cosmetics
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adetex.spec?r1=1.13&r2=1.14&f=u
http://cvs.pld-linux.org/SPECS/hugelatex.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list