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
commited84c5a5968adf05b93e3841ae8f160aeedb089a (patch)
tree16c01bdf56998d40e838f72de18fd3faffc1c551 /eclass/depend.apache.eclass
parentAdded missing DETECT_APACHE default cause (diff)
downloadhistorical-ed84c5a5968adf05b93e3841ae8f160aeedb089a.tar.gz
historical-ed84c5a5968adf05b93e3841ae8f160aeedb089a.tar.bz2
historical-ed84c5a5968adf05b93e3841ae8f160aeedb089a.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