[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#274936: tasksel: Split the debian-tasks.desc



Otavio Salvador wrote:
> I thin we can drop the earlier info. More simple.

This patch may do that, but I have not tested it.

Index: tasksel.pl
===================================================================
--- tasksel.pl  (revision 808)
+++ tasksel.pl  (working copy)
@@ -74,6 +74,8 @@
 
 # Loads info for all tasks, and returns a set of task structures.
 sub all_tasks {
+       my %seen;
+       grep { $seen{$_->{task}}++; $seen{$_->{task}} < 2 }
        map { read_task_desc($_) } list_task_descs();
 }

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: