summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-11-18 15:24:17 +0000
committerMamoru Komachi <usata@gentoo.org>2004-11-18 15:24:17 +0000
commit74c66aa1a41dad2cace46428411b7f1bd0ee0403 (patch)
tree60aa4ebf7e13fd1ac159b0b2774285f38d4500e9 /eclass/tetex.eclass
parentAdded CVS snapshot. (Manifest recommit) (diff)
downloadgentoo-2-74c66aa1a41dad2cace46428411b7f1bd0ee0403.tar.gz
gentoo-2-74c66aa1a41dad2cace46428411b7f1bd0ee0403.tar.bz2
gentoo-2-74c66aa1a41dad2cace46428411b7f1bd0ee0403.zip
Make a correct symlink; bug #71190.
Diffstat (limited to 'eclass/tetex.eclass')
-rw-r--r--eclass/tetex.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/tetex.eclass b/eclass/tetex.eclass
index 9007ad1b14dc..e432bb973d4c 100644
--- a/eclass/tetex.eclass
+++ b/eclass/tetex.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.28 2004/11/05 07:15:18 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.29 2004/11/18 15:24:17 usata Exp $
#
# Author: Jaromir Malenko <malenko@email.cz>
# Author: Mamoru KOMACHI <usata@gentoo.org>
@@ -215,11 +215,12 @@ tetex_src_install() {
# move docs to /usr/share/doc/${PF}
if useq doc ; then
- dodir /usr/share/doc
+ dodir /usr/share/doc/${PF}
mv ${D}/usr/share/texmf/doc/* \
${D}/usr/share/doc/${PF} \
|| die "mv doc failed."
cd ${D}/usr/share/texmf
+ rmdir doc
ln -s ../doc/${PF} doc \
|| die "ln -s doc failed."
cd -