summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-docs/python-docs-2.4.4.ebuild')
-rw-r--r--dev-python/python-docs/python-docs-2.4.4.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/python-docs/python-docs-2.4.4.ebuild b/dev-python/python-docs/python-docs-2.4.4.ebuild
index 1bfa01cc21e1..52c9272745f6 100644
--- a/dev-python/python-docs/python-docs-2.4.4.ebuild
+++ b/dev-python/python-docs/python-docs-2.4.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.4.4.ebuild,v 1.4 2007/05/07 10:35:24 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.4.4.ebuild,v 1.5 2007/05/07 12:46:26 kloeri Exp $
DESCRIPTION="HTML documentation for Python"
HOMEPAGE="http://www.python.org/doc/${PV}/"
@@ -31,7 +31,9 @@ src_install() {
insinto /usr/share/info
doins ${S}/info/*
+}
+pkg_preinst() {
dodir /etc/env.d
echo "PYTHONDOCS=/usr/share/doc/${PF}/html/lib" > ${D}/etc/env.d/50python-docs
}