Checking LH_APT when using mini and minimal package lists.

This commit is contained in:
Daniel Baumann 2007-12-22 09:10:25 +01:00
parent c8bcdfff6f
commit 6e28cb02a0
1 changed files with 10 additions and 0 deletions

View File

@ -636,4 +636,14 @@ Check_defaults ()
Echo_warning "part of the etch distribution." Echo_warning "part of the etch distribution."
fi fi
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
} }