summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-01-01 01:14:59 +0000
committerSven Wegener <swegener@gentoo.org>2006-01-01 01:14:59 +0000
commit466763dc3793d410c92ff9b27665c6eae52f1af0 (patch)
tree0fadd4d247e0522d84770dafaff0e8da261034f9 /eclass/webapp.eclass
parentNew upstream version. (diff)
downloadhistorical-466763dc3793d410c92ff9b27665c6eae52f1af0.tar.gz
historical-466763dc3793d410c92ff9b27665c6eae52f1af0.tar.bz2
historical-466763dc3793d410c92ff9b27665c6eae52f1af0.zip
Apply whitespace checks from repoman to eclasses.
Diffstat (limited to 'eclass/webapp.eclass')
-rw-r--r--eclass/webapp.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass
index 61645ad2a877..0de266541520 100644
--- a/eclass/webapp.eclass
+++ b/eclass/webapp.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.37 2005/11/20 12:26:22 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.38 2006/01/01 01:14:59 swegener Exp $
#
# eclass/webapp.eclass
# Eclass for installing applications to run under a web server
@@ -194,7 +194,7 @@ function webapp_postupgrade_txt ()
#
# The ownership of the file is NOT set until the application is installed
# using the webapp-config tool.
-#
+#
# @param $1 - file to be owned by the webserver user:group combo
#
# ------------------------------------------------------------------------
@@ -204,7 +204,7 @@ function webapp_serverowned ()
webapp_checkfileexists "${1}" "$D"
local MY_FILE="$(webapp_strip_appdir ${1})"
MY_FILE="$(webapp_strip_cwd ${MY_FILE})"
-
+
einfo "(server owned) ${MY_FILE}"
echo "${MY_FILE}" >> "${D}/${WA_SOLIST}"
}
@@ -241,7 +241,7 @@ function webapp_server_configfile ()
#
# do NOT change the naming convention used here without changing all
# the other scripts that also rely upon these names
-
+
einfo "(${1}) config file '${my_file}'"
cp "${2}" "${D}/${MY_SERVERCONFIGDIR}/${my_file}"
}
@@ -275,7 +275,7 @@ function webapp_sqlscript ()
#
# do NOT change the naming convention used here without changing all
# the other scripts that also rely upon these names
-
+
# are we dealing with an 'upgrade'-type script?
if [ -n "${3}" ]; then
# yes we are
@@ -456,7 +456,7 @@ function webapp_pkg_postinst ()
# if 'vhosts' is not set in your USE flags, we install a copy of
# this application in ${ROOT}/var/www/localhost/htdocs/${PN}/ for you
-
+
if ! use vhosts ; then
echo
einfo "vhosts USE flag not set - auto-installing using webapp-config"
@@ -476,7 +476,7 @@ function webapp_pkg_postinst ()
else
einfo "${PN}-${PVR} is not installed - using install mode"
fi
-
+
my_cmd="${WEBAPP_CONFIG} ${my_mode} -h localhost -u root -d ${INSTALL_DIR} ${PN} ${PVR}"
einfo "Running ${my_cmd}"
${my_cmd}