summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Gavin <pete@gentoo.org>2001-02-11 20:08:41 +0000
committerPeter Gavin <pete@gentoo.org>2001-02-11 20:08:41 +0000
commitde0216bef2e1f25e0253a6a29e823d5c3b9483f8 (patch)
tree9a1eaa9fc1ed7bd2c6e944489433761592b6df0c /sys-libs/db
parentAn initial ebuild script for the splitvt utility (diff)
downloadhistorical-de0216bef2e1f25e0253a6a29e823d5c3b9483f8.tar.gz
historical-de0216bef2e1f25e0253a6a29e823d5c3b9483f8.tar.bz2
historical-de0216bef2e1f25e0253a6a29e823d5c3b9483f8.zip
db-3.2.3h-r1.ebuild tried moving the docs to
/usr/share/doc/db-3.2.3h-r1, but ebuild uses /usr/doc it, so I added a fix to take that into account.
Diffstat (limited to 'sys-libs/db')
-rw-r--r--sys-libs/db/db-3.2.3h-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-libs/db/db-3.2.3h-r1.ebuild b/sys-libs/db/db-3.2.3h-r1.ebuild
index 526aed7541f4..df7d2e2756d2 100644
--- a/sys-libs/db/db-3.2.3h-r1.ebuild
+++ b/sys-libs/db/db-3.2.3h-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-3.2.3h-r1.ebuild,v 1.1 2001/02/07 16:10:52 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-3.2.3h-r1.ebuild,v 1.2 2001/02/11 20:08:41 pete Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}/build_unix
@@ -54,7 +54,12 @@ src_install () {
cd ${S}/..
dodoc README LICENSE
- mv ${D}/usr/docs ${D}/usr/share/doc/${PF}/html
+ if [ -d ${D}/usr/share/doc/${PF} ]
+ then
+ mv ${D}/usr/docs ${D}/usr/share/doc/${PF}/html
+ else
+ mv ${D}/usr/docs ${D}/usr/doc/${PF}/html
+ fi
prepalldocs
}