summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-08-08 13:21:56 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-08-08 13:21:56 +0000
commit84546f53677e05a1b0c2985e3c38d973cfb0c2e0 (patch)
treefacb7131fa5d5c71f5d1abd8fc7c8d6d52a569a7 /eclass
parentAdded a kolabified version of the horde-webmail package. (diff)
downloadgentoo-2-84546f53677e05a1b0c2985e3c38d973cfb0c2e0.tar.gz
gentoo-2-84546f53677e05a1b0c2985e3c38d973cfb0c2e0.tar.bz2
gentoo-2-84546f53677e05a1b0c2985e3c38d973cfb0c2e0.zip
Allow specifiying hook scripts and post installation instructions in horde ebuilds.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/horde.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/horde.eclass b/eclass/horde.eclass
index df9cc6aa4343..9e80b5781b32 100644
--- a/eclass/horde.eclass
+++ b/eclass/horde.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.36 2008/08/07 18:53:18 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.37 2008/08/08 13:21:56 wrobel Exp $
#
# Help manage the horde project http://www.horde.org/
#
@@ -142,6 +142,9 @@ horde_src_install() {
fi
done
+ [[ -n ${HORDE_RECONFIG} ]] && webapp_hook_script ${HORDE_RECONFIG}
+ [[ -n ${HORDE_POSTINST} ]] && webapp_postinst_txt en ${HORDE_POSTINST}
+
webapp_src_install
}