]> git.pld-linux.org Git - packages/adetex.git/commitdiff
- avoid "%post scriptlet failed"
authorsaq <saq@pld-linux.org>
Wed, 3 Aug 2005 15:00:03 +0000 (15:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adetex.spec -> 1.14

adetex.spec

index 1daf04321b61a15eed8c70ff805b4c85f2f72c26..e64b5219c5d5c7881faf1f7f6209722661a90148 100644 (file)
@@ -62,10 +62,10 @@ ln -s pdftex $RPM_BUILD_ROOT%{_bindir}/pdfjadetex
 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)
This page took 0.070429 seconds and 4 git commands to generate.