summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-07-24 08:50:23 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-07-24 08:50:23 +0000
commitde5d3e6d10c39413bb17a2efa8fd99b2a22e8367 (patch)
treef45fe734e757a5a634c6a3d8f1c2d7441ff36034 /eclass/depend.apache.eclass
parentAdded missing DETECT_APACHE default cause (diff)
downloadgentoo-2-de5d3e6d10c39413bb17a2efa8fd99b2a22e8367.tar.gz
gentoo-2-de5d3e6d10c39413bb17a2efa8fd99b2a22e8367.tar.bz2
gentoo-2-de5d3e6d10c39413bb17a2efa8fd99b2a22e8367.zip
typo fixes ;-).
Diffstat (limited to 'eclass/depend.apache.eclass')
-rw-r--r--eclass/depend.apache.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass
index 9020ced77e71..869a760b34ea 100644
--- a/eclass/depend.apache.eclass
+++ b/eclass/depend.apache.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/depend.apache.eclass,v 1.4 2004/07/24 08:47:01 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.5 2004/07/24 08:50:23 robbat2 Exp $
ECLASS="depend.apache"
INHERITED="$INHERITED $ECLASS"
@@ -11,7 +11,7 @@ IUSE="apache apache2"
# SLOT="apache? ( 1{$MY_SLOT} ) apache2? ( 2{$MY_SLOT} ) !apache1? ( !apache2? ( 2${MY_SLOT} ) )"
DEPEND="$DEPEND apache? ( =net-www/apache-1* ) apache2? ( =net-www/apache-2* )
- !apache? ( !apache2? ( net-www/apache-2* ) )"
+ !apache? ( !apache2? ( =net-www/apache-2* ) )"
# call this function to work out which version of the apache web server
# your ebuild should be installing itself to use
@@ -36,7 +36,7 @@ detect_apache_installed() {
has_version '=net-www/apache-1*' && HAS_APACHE1=1 && HAS_APACHE_ANY=1
has_version '=net-www/apache-2*' && HAS_APACHE2=1 && HAS_APACHE_ANY=1
- [ -n "${HAVE_APACHE1}" ] && [ -n "${HAVE_APACHE2}" && HAVE_APACHE_MULTIPLE=1
+ [ -n "${HAVE_APACHE1}" ] && [ -n "${HAVE_APACHE2}" ] && HAVE_APACHE_MULTIPLE=1
}
# call this function from your pkg_setup