Setting default taskel program from aptitude to tasksel.

This commit is contained in:
Daniel Baumann 2009-01-23 05:02:42 +01:00
parent 451d36016c
commit 84e4a199da
2 changed files with 4 additions and 4 deletions

View File

@ -191,7 +191,7 @@ Set_defaults ()
fi
# Setting tasksel
LH_TASKSEL="${LH_TASKSEL:-aptitude}"
LH_TASKSEL="${LH_TASKSEL:-taskel}"
# Setting root directory
if [ -z "${LH_ROOT}" ]

View File

@ -716,13 +716,13 @@ Read_conffiles config/all config/common config/bootstrap config/chroot config/bi
if [ -x config.cfg ]
then
EXTRA_ARGUMENTS="./config.cfg"
EXTRA_ARGUMENTS="$(./config.cfg)"
elif [ -r config.cfg ]
then
EXTRA_ARGUMENTS="$(cat config.cfg)"
EXTRA_ARGUMENTS="$(sed -e '/^$/d' -e '/^#/d' config.cfg | sed -e '$!N;s/\n/ /g')"
fi
Local_arguments ${EXTRA_ARGUMENTS} "${@}"
Local_arguments "${EXTRA_ARGUMENTS} ${@}"
if [ -n "${_CONFFILE}" ]
then