summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-12-22 09:10:25 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:29 +0100
commitf34382864639825ddff321a1feef442cb0518bf0 (patch)
tree17bda29a167cc3a4a8c44c9d1d7b9210030a39b7 /functions
parentc7e9b2abaa6e2e67409cbd224c42debee9bf57c1 (diff)
downloadlive-build-f34382864639825ddff321a1feef442cb0518bf0.zip
live-build-f34382864639825ddff321a1feef442cb0518bf0.tar.gz
Checking LH_APT when using mini and minimal package lists.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 0d89f4c..a3ab9a1 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -636,4 +636,14 @@ Check_defaults ()
Echo_warning "part of the etch distribution."
fi
fi
+
+ if [ "${LH_PACKAGES_LISTS}" = "mini" ] || [ "${LH_PACKAGES_LISTS}" = "minimal" ]
+ then
+ if [ "${LH_APT}" = "aptitude" ]
+ then
+ Echo_warning "You selected LH_PACKAGES_LISTS='"${LH_PACKAGES_LIST}"' and LH_APT='aptitude'"
+ Echo_warning "This is a possible unsafe configuration as aptitude is not"
+ Echo_warning "used in the mini/minimal package lists."
+ fi
+ fi
}