diff options
author | Daniel Baumann <daniel@debian.org> | 2007-12-22 09:10:25 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:29 +0100 |
commit | f34382864639825ddff321a1feef442cb0518bf0 (patch) | |
tree | 17bda29a167cc3a4a8c44c9d1d7b9210030a39b7 /functions | |
parent | c7e9b2abaa6e2e67409cbd224c42debee9bf57c1 (diff) | |
download | live-build-f34382864639825ddff321a1feef442cb0518bf0.zip live-build-f34382864639825ddff321a1feef442cb0518bf0.tar.gz |
Checking LH_APT when using mini and minimal package lists.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 10 |
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 } |