Setting LH_BASE variable in defaults.sh globally.

This commit is contained in:
Daniel Baumann 2009-11-21 10:16:58 +01:00
parent 3c09f12708
commit 087aebad8d
1 changed files with 4 additions and 2 deletions
functions

View File

@ -11,6 +11,8 @@ Set_defaults ()
{
## config/common
LH_BASE="${LH_BASE:-/usr/share/live-helper}"
# Setting mode
if [ -z "${LH_MODE}" ]
then
@ -217,13 +219,13 @@ Set_defaults ()
# Setting includes
if [ -z "${LH_INCLUDES}" ]
then
LH_INCLUDES="${LH_BASE:-/usr/share/live-helper}/includes"
LH_INCLUDES="${LH_BASE}/includes"
fi
# Setting templates
if [ -z "${LH_TEMPLATES}" ]
then
LH_TEMPLATES="${LH_BASE:-/usr/share/live-helper}/templates"
LH_TEMPLATES="${LH_BASE}/templates"
fi
# Setting live helper options