diff options
author | Daniel Baumann <daniel@debian.org> | 2011-05-16 22:08:22 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-05-16 22:11:26 +0200 |
commit | 57e2fac99b05dd62dacb5b086a39552b6857e37a (patch) | |
tree | eb688085066f0d14f5b879540be18258b5bbebfc | |
parent | 454043122d452e67535a249076fd17c007644b27 (diff) | |
download | vyos-live-build-57e2fac99b05dd62dacb5b086a39552b6857e37a.tar.gz vyos-live-build-57e2fac99b05dd62dacb5b086a39552b6857e37a.zip |
Switching to apt as tasksel for all distributions, except Debian squeeze.
-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 |