OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 22-Jun-2006 21:25:23 Branch: HEAD Handle: 2006062220252300 Modified files: openpkg-src/lcdf-typetools lcdf-typetools.spec Log: automatically update the TeX hash files to make sure the installed .enc files are immediately available Summary: Revision Changes Path 1.6 +10 -0 openpkg-src/lcdf-typetools/lcdf-typetools.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/lcdf-typetools/lcdf-typetools.spec ============================================================================ $ cvs diff -u -r1.5 -r1.6 lcdf-typetools.spec --- openpkg-src/lcdf-typetools/lcdf-typetools.spec 22 Jun 2006 19:11:41 -0000 1.5 +++ openpkg-src/lcdf-typetools/lcdf-typetools.spec 22 Jun 2006 19:25:23 -0000 1.6 @@ -168,3 +168,13 @@ %clean rm -rf $RPM_BUILD_ROOT +%post + # update TeX hashes + $RPM_INSTALL_PREFIX/bin/texhash >/dev/null 2>&1 || true + exit 0 + +%postun + # update TeX hashes + $RPM_INSTALL_PREFIX/bin/texhash >/dev/null 2>&1 || true + exit 0 + @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org