summaryrefslogtreecommitdiff
path: root/helpers/lh_configapt
diff options
context:
space:
mode:
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 81ff23a..cf8a91f 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