summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-05-16 22:08:22 +0200
committerDaniel Baumann <daniel@debian.org>2011-05-16 22:11:26 +0200
commit57e2fac99b05dd62dacb5b086a39552b6857e37a (patch)
treeeb688085066f0d14f5b879540be18258b5bbebfc /functions
parent454043122d452e67535a249076fd17c007644b27 (diff)
downloadvyos-live-build-57e2fac99b05dd62dacb5b086a39552b6857e37a.tar.gz
vyos-live-build-57e2fac99b05dd62dacb5b086a39552b6857e37a.zip
Switching to apt as tasksel for all distributions, except Debian squeeze.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh8
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