summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/rackview/rackview-0.04-r1.ebuild')
-rw-r--r--app-admin/rackview/rackview-0.04-r1.ebuild30
1 files changed, 15 insertions, 15 deletions
diff --git a/app-admin/rackview/rackview-0.04-r1.ebuild b/app-admin/rackview/rackview-0.04-r1.ebuild
index df608891e950..bd77bf469300 100644
--- a/app-admin/rackview/rackview-0.04-r1.ebuild
+++ b/app-admin/rackview/rackview-0.04-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.04-r1.ebuild,v 1.4 2003/10/24 11:29:39 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.04-r1.ebuild,v 1.5 2004/01/06 11:59:20 robbat2 Exp $
inherit perl-module
@@ -18,25 +18,25 @@ DEPEND="dev-lang/perl
mysql? ( dev-db/mysql )"
DOCS="ChangeLog COPYING README* doc/*"
-#In case of Apache
+src_install() {
+ #In case of Apache
-use apache2 || HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache/conf/apache.conf | cut -d\ -f2`" \
- || HTTPD_USER="`grep '^User' /etc/apache/conf/commonapache.conf | cut -d \ -f2`" \
- || HTTPD_GROUP="`grep '^Group' /etc/apache/conf/commonapache.conf | cut -d \ -f2`"
+ use apache2 || HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache/conf/apache.conf | cut -d\ -f2`" \
+ || HTTPD_USER="`grep '^User' /etc/apache/conf/commonapache.conf | cut -d \ -f2`" \
+ || HTTPD_GROUP="`grep '^Group' /etc/apache/conf/commonapache.conf | cut -d \ -f2`"
-#In case of Apache2
+ #In case of Apache2
-use apache2 && HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache2/conf/apache2.conf | cut -d\ -f2`" \
- && HTTPD_USER="`grep '^User' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`" \
- && HTTPD_GROUP="`grep '^Group' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`"
+ use apache2 && HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache2/conf/apache2.conf | cut -d\ -f2`" \
+ && HTTPD_USER="`grep '^User' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`" \
+ && HTTPD_GROUP="`grep '^Group' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`"
-# Else use defaults
+ # Else use defaults
-[ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="/home/httpd/htdocs"
-[ -z "${HTTPD_USER}" ] && HTTPD_USER="apache"
-[ -z "${HTTPD_GROUP}" ] && HTTPD_GROUP="apache"
+ [ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="/home/httpd/htdocs"
+ [ -z "${HTTPD_USER}" ] && HTTPD_USER="apache"
+ [ -z "${HTTPD_GROUP}" ] && HTTPD_GROUP="apache"
-src_install() {
perl-module_src_install