summaryrefslogtreecommitdiff
path: root/helpers/lh_configapt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:41 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:41 +0200
commit9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e (patch)
treeec480b64ed7197038b63eebb23f2b9f1829408c3 /helpers/lh_configapt
parentcee1de85c8b7c3576ae9a899a0f9a6482f7c339f (diff)
downloadvyos-live-build-9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e.tar.gz
vyos-live-build-9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e.zip
Adding live-package 0.99.24-1.
Diffstat (limited to 'helpers/lh_configapt')
-rwxr-xr-xhelpers/lh_configapt5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_configapt b/helpers/lh_configapt
index 81ff23a90..cf8a91f91 100755
--- a/helpers/lh_configapt
+++ b/helpers/lh_configapt
@@ -19,6 +19,11 @@ case "${1}" in
apply-recommends)
# Configure recommends
+ if [ ! -d "${LIVE_CHROOT}"/etc/apt/apt.conf.d ]
+ then
+ mkdir -p "${LIVE_CHROOT}"/etc/apt/apt.conf.d
+ fi
+
if [ "${LIVE_RECOMMENDS}" = "yes" ]
then
echo "Aptitude::Recommends-Important \"true\";" > "${LIVE_CHROOT}"/etc/apt/apt.conf.d/00make-live_recommends.conf