summaryrefslogtreecommitdiff
path: root/functions/packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/packages.sh')
-rwxr-xr-xfunctions/packages.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/packages.sh b/functions/packages.sh
index 7d7f5f9e2..4b833ce53 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