diff options
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 2319e2e3202b..db3571d1bb90 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.199 2007/06/11 17:07:41 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.200 2007/10/19 12:41:59 philantrop Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -379,7 +379,8 @@ kde_src_install() { if [[ -n ${KDEBASE} ]] && [[ "${PN}" != "arts" ]] ; then # work around bug #97196 dodir ${KDEDIR}/share/doc/ - mv ${D}/usr/share/doc/${PF} "${D}/${KDEDIR}/share/doc/" + [[ -d "${D}/usr/share/doc/${PF}" ]] && \ + mv "${D}/usr/share/doc/${PF}" "${D}/${KDEDIR}/share/doc/" fi } |