Add support for multiple desktop tasks on a single disk

This commit is contained in:
cd-builder user 2008-11-22 00:58:51 +00:00
parent bc419dbf37
commit 788e133770
2 changed files with 11 additions and 4 deletions

1
debian/changelog vendored
View File

@ -49,6 +49,7 @@ debian-cd (3.1.0) UNRELEASED; urgency=low
[ Steve McIntyre ]
* Stop copying the /tools/ directory on from the mirror; it's going away.
* Add support for multiple desktop tasks on a single disk
-- Frans Pop <fjp@debian.org> Thu, 13 Nov 2008 22:17:21 +0100

View File

@ -65,12 +65,16 @@ update_full_list () {
update_essential_list () {
file=$1
tasklist=$2
desktoptask=$3
desktoptasks=$3
tasksel=$4
(grep -Ev "^(#.*)?[[:space:]]*$" $tasklist ;
echo DONE ;
cat $tasksel/usr/share/tasksel/debian-tasks.desc) | mawk -v DT=$3 '
cat $tasksel/usr/share/tasksel/debian-tasks.desc) | mawk -v DT=$desktoptasks '
BEGIN {
split(DT, d_tasks, ",")
}
/DONE/ {
in_tasks = 1
@ -106,8 +110,10 @@ update_essential_list () {
(cur_task != "xfce-desktop")) {
in_key = 1
}
if (cur_task == DT) {
in_key = 1
for (dt_num in d_tasks) {
if (cur_task == d_tasks[dt_num]) {
in_key = 1
}
}
}
}