From 57e2fac99b05dd62dacb5b086a39552b6857e37a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 16 May 2011 22:08:22 +0200 Subject: Switching to apt as tasksel for all distributions, except Debian squeeze. --- functions/defaults.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index cbdf1afc2..2aa677fe2 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -214,13 +214,13 @@ Set_defaults () fi # Setting tasksel - case "${LB_MODE}" in - ubuntu) - LB_TASKSEL="${LB_TASKSEL:-apt}" + case "${LB_DISTRIBUTION}" in + squeeze) + LB_TASKSEL="${LB_TASKSEL:-tasksel}" ;; *) - LB_TASKSEL="${LB_TASKSEL:-tasksel}" + LB_TASKSEL="${LB_TASKSEL:-apt}" ;; esac -- cgit v1.2.3