summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2011-05-16 15:03:56 +0100
committerDaniel Baumann <daniel@debian.org>2011-05-16 22:11:15 +0200
commit454043122d452e67535a249076fd17c007644b27 (patch)
treefd1a9d010f26f9585b032b4a4fad8b70a19209d4 /functions
parentc5df1371f8e5f092522de8c5fd0c4b282520baac (diff)
downloadvyos-live-build-454043122d452e67535a249076fd17c007644b27.tar.gz
vyos-live-build-454043122d452e67535a249076fd17c007644b27.zip
Allow installing tasks using apt-get, and do so by default for Ubuntu (Closes: #626940).
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 4c0518a0b..cbdf1afc2 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -214,7 +214,15 @@ Set_defaults ()
fi
# Setting tasksel
- LB_TASKSEL="${LB_TASKSEL:-tasksel}"
+ case "${LB_MODE}" in
+ ubuntu)
+ LB_TASKSEL="${LB_TASKSEL:-apt}"
+ ;;
+
+ *)
+ LB_TASKSEL="${LB_TASKSEL:-tasksel}"
+ ;;
+ esac
# Setting root directory
case "${LB_MODE}" in