summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
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