diff options
author | Tobias Heinlein <keytoaster@gentoo.org> | 2008-01-02 15:55:55 +0000 |
---|---|---|
committer | Tobias Heinlein <keytoaster@gentoo.org> | 2008-01-02 15:55:55 +0000 |
commit | 7be4c4afc6d00d2b89424dfd8cca1ab5acd27a1f (patch) | |
tree | 3c4509dc70547e77a7b163fa3b8ac7f2d050cd96 /eclass/kde.eclass | |
parent | Cleanup (diff) | |
download | gentoo-2-7be4c4afc6d00d2b89424dfd8cca1ab5acd27a1f.tar.gz gentoo-2-7be4c4afc6d00d2b89424dfd8cca1ab5acd27a1f.tar.bz2 gentoo-2-7be4c4afc6d00d2b89424dfd8cca1ab5acd27a1f.zip |
Place docs in /usr/share/doc/kde/ rather than /usr/kde/share/doc/, by zlin
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 2f631b16a4d0..4a61f4b15578 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.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/kde.eclass,v 1.201 2007/12/08 11:11:17 keytoaster Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.202 2008/01/02 15:55:55 keytoaster Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -376,11 +376,11 @@ kde_src_install() { shift done - if [[ -n ${KDEBASE} ]] && [[ "${PN}" != "arts" ]] ; then + if [[ -n ${KDEBASE} && "${PN}" != "arts" && -d "${D}"/usr/share/doc/${PF} ]]; then # work around bug #97196 - dodir ${KDEDIR}/share/doc/ - [[ -d "${D}/usr/share/doc/${PF}" ]] && \ - mv "${D}/usr/share/doc/${PF}" "${D}/${KDEDIR}/share/doc/" + dodir /usr/share/doc/kde && \ + mv "${D}"/usr/share/doc/${PF} "${D}"/usr/share/doc/kde/ || \ + die "Failed to move docs to kde/ failed." fi } |