diff options
-rwxr-xr-x | functions/defaults.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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 |