Bug 165070 - tetex: texdoc can't locate documentation files after installation of tetex-doc
tetex: texdoc can't locate documentation files after installation of tetex-doc
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: tetex (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-03 22:54 EDT by Jose Pedro Oliveira
Modified: 2013-07-02 19:08 EDT (History)
1 user (show)

See Also:
Fixed In Version: 3.0-5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-08-08 09:35:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jose Pedro Oliveira 2005-08-03 22:54:32 EDT
Description of problem:
texdoc can't locate documentation files after installation of tetex-doc.
The tetex-doc subpackage doesn't hash the tex files after
being installed (or uninstalled).

Version-Release number of selected component (if applicable):
tetex-3.0-4

Steps to Reproduce:
1. tetex-doc isn't installed by default (at least in some FC installation
   profiles)
2. install tetex-doc manually
3. try to view some doc file. Example:
   texdoc listings
4. nothing happens


Additional info:
Solution: also add the %post and %preun scripts to the tetex-doc subpackage.

%post doc
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null
exit 0

%postun doc
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null
exit 0
Comment 1 Jose Pedro Oliveira 2005-08-03 22:56:29 EDT
Oops!  I meant the %post and %postun scripts.
(s/the %post and %preun/the %post and %postun/)
Comment 2 Jindrich Novy 2005-08-08 09:35:40 EDT
Ok, the next teTeX build fixes this.

Note You need to log in before you can comment on or make changes to this bug.