diff --git a/latex2html.spec b/latex2html.spec
index 478dab0..d04f6e5 100644
--- a/latex2html.spec
+++ b/latex2html.spec
@@ -4,7 +4,7 @@
Summary: Converts LaTeX documents to HTML
Name: latex2html
Version: 2002.2.1
-Release: 7%{?dist}
+Release: 8%{?dist}
License: Free To Use But Restricted (See LICENSE)
Group: Applications/Publishing
URL: http://www.latex2html.org/
@@ -196,12 +196,10 @@ done
rm -rf $RPM_BUILD_ROOT
%post
-[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null
-exit 0
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
%postun
-[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null
-exit 0
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
%files
%defattr(-,root,root,-)
@@ -226,6 +224,9 @@ exit 0
%{_mandir}/man1/pstoimg.*
%changelog
+* Mon Jan 07 2008 Jindrich Novy 2002.2.1-8
+- fix post/postun scriptlets
+
* Wed Nov 29 2006 Jindrich Novy 2002.2.1-7
- add dist tag, fix BuildRoot
- fix typo in description