summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
-rwxr-xr-xfunctions/packages.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 6c4444f..e16635d 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -817,7 +817,7 @@ Set_defaults ()
LH_CHECKSUMS="${LH_CHECKSUMS:-md5}"
# Setting chroot option
- LH_CHROOT_BUILD="${LH_CHROOT_BUILD:-true}"
+ LH_BUILD_WITH_CHROOT="${LH_BUILD_WITH_CHROOT:-true}"
# Setting debian-installer option
LH_DEBIAN_INSTALLER="${LH_DEBIAN_INSTALLER:-false}"
diff --git a/functions/packages.sh b/functions/packages.sh
index 7d7f5f9..4b833ce 100755
--- a/functions/packages.sh
+++ b/functions/packages.sh
@@ -28,7 +28,7 @@ Check_package ()
Install_package ()
{
- if [ -n "${_LH_PACKAGES}" ] && [ "${LH_CHROOT_BUILD}" != "false" ]
+ if [ -n "${_LH_PACKAGES}" ] && [ "${LH_BUILD_WITH_CHROOT}" != "false" ]
then
case "${LH_APT}" in
apt|apt-get)
@@ -44,7 +44,7 @@ Install_package ()
Remove_package ()
{
- if [ -n "${_LH_PACKAGES}" ] && [ "${LH_CHROOT_BUILD}" != "false" ]
+ if [ -n "${_LH_PACKAGES}" ] && [ "${LH_BUILD_WITH_CHROOT}" != "false" ]
then
case "${LH_APT}" in
apt|apt-get)
@@ -68,7 +68,7 @@ Check_installed ()
FILE="${1}"
PACKAGE="${2}"
- case "${LH_CHROOT_BUILD}" in
+ case "${LH_BUILD_WITH_CHROOT}" in
true)
if Chroot chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
then