View | Details | Raw Unified
Collapse All | Expand All

(-) webapp-config (-2 / +7 lines)
 Lines 15-27    Link Here 
umask 0
umask 0
get_libdir() {
	CONF_LIBDIR=$(`which portageq` envvar CONF_LIBDIR)
	echo ${CONF_LIBDIR:=lib}
}
# ========================================================================
# ========================================================================
# Some configuration variables
# Some configuration variables
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
MY_DOTCONFIG=".webapp"
MY_DOTCONFIG=".webapp"
MY_ETCCONFIG="/etc/vhosts/webapp-config"
MY_ETCCONFIG="/etc/vhosts/webapp-config"
MY_LIBROOT="/usr/lib/webapp-config"
MY_LIBROOT="/usr/$(get_libdir)/webapp-config"
MY_SERVERSDIR="${MY_LIBROOT}/servers"
MY_SERVERSDIR="${MY_LIBROOT}/servers"
MY_VERSION="1.10-r10"
MY_VERSION="1.10-r10"
MY_CONF_VERSION="5"
MY_CONF_VERSION="5"
 Lines 1088-1094    Link Here 
fn_dirisconfigprotected ()
fn_dirisconfigprotected ()
{
{
	local my_master="`/usr/lib/portage/bin/portageq config_protect`"
	local my_master="$(`which portageq` config_protect)"
	# is the directory relative, or absolute?
	# is the directory relative, or absolute?