summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_packages
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:17 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit0d0de885e32ff67d57bb7def451b62d75b8920ab (patch)
treecd4a159a86207401dbd5990bc0fa3c28825ab6f8 /helpers/lh_chroot_packages
parentc68c0a270832ca340429878ce6a0ab606d435b06 (diff)
downloadvyos-live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.tar.gz
vyos-live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.zip
Adding live-helper 1.0~a22-1.
Diffstat (limited to 'helpers/lh_chroot_packages')
-rwxr-xr-xhelpers/lh_chroot_packages6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_chroot_packages b/helpers/lh_chroot_packages
index bfc427cab..87e8eaf98 100755
--- a/helpers/lh_chroot_packages
+++ b/helpers/lh_chroot_packages
@@ -46,7 +46,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if [ -n "${LIVE_PACKAGES}" ] && [ "${LIVE_PACKAGES}" != "none" ]
+if [ -n "${LH_PACKAGES}" ] && [ "${LH_PACKAGES}" != "none" ]
then
# Restoring cache
Restore_cache cache/packages_packages
@@ -54,11 +54,11 @@ then
# Installing packages
case "${LH_APT}" in
apt|apt-get)
- Chroot "apt-get install --yes ${LIVE_PACKAGES}"
+ Chroot "apt-get install --yes ${LH_PACKAGES}"
;;
aptitude)
- Chroot "aptitude install --assume-yes ${LIVE_PACKAGES}"
+ Chroot "aptitude install --assume-yes ${LH_PACKAGES}"
;;
esac