summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-08-04 00:35:30 +0000
committerStuart Herbert <stuart@gentoo.org>2003-08-04 00:35:30 +0000
commitcbc75ffa4d6cf0f8496565f1edd74327ec801146 (patch)
treedc3ead2e3c157f7d9efc0a0eaddc4f051b59e8d3 /eclass
parentInitial version (diff)
downloadgentoo-2-cbc75ffa4d6cf0f8496565f1edd74327ec801146.tar.gz
gentoo-2-cbc75ffa4d6cf0f8496565f1edd74327ec801146.tar.bz2
gentoo-2-cbc75ffa4d6cf0f8496565f1edd74327ec801146.zip
Attempted fix for non-apache problem
Diffstat (limited to 'eclass')
-rw-r--r--eclass/webapp-apache.eclass17
1 files changed, 15 insertions, 2 deletions
diff --git a/eclass/webapp-apache.eclass b/eclass/webapp-apache.eclass
index 636eb4c4b7d2..b4342053457b 100644
--- a/eclass/webapp-apache.eclass
+++ b/eclass/webapp-apache.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/webapp-apache.eclass,v 1.2 2003/08/03 19:26:02 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/webapp-apache.eclass,v 1.3 2003/08/04 00:35:30 stuart Exp $
#
# Author: Stuart Herbert <stuart@gentoo.org>
#
@@ -10,6 +10,9 @@
ECLASS=webapp-apache
INHERITED="$INHERITED $ECLASS"
+DEPEND="${DEPEND} net-www/apache"
+
+EXPORT_FUNCTIONS pkg_preinst
# NOTE:
#
@@ -39,7 +42,17 @@ function webapp-apache-detect ()
}
# run the function, so we know which version of apache we are using
-webapp-apache-detect
+
+function webapp-apache_pkg_preinst () {
+ webapp-apache-detect
+ webapp-determine-installowner
+ webapp-determine-htdocsdir
+}
+
+function webapp_pkg_preinst ()
+{
+ webapp-apache_pkg_preinst
+}
function webapp-determine-htdocsdir ()
{