From f34382864639825ddff321a1feef442cb0518bf0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 22 Dec 2007 09:10:25 +0100 Subject: Checking LH_APT when using mini and minimal package lists. --- functions/defaults.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 } -- cgit v1.0