Browse Source

- Use aptitude's new --visual-preview option to allow selection and then

fine-tuning of tasks.
tags/2.07
Joey Hess 17 years ago
parent
commit
085c578e71
4 changed files with 6 additions and 9 deletions
  1. +2
    -0
      debian/changelog
  2. +1
    -1
      debian/control
  3. +1
    -1
      debian/templates
  4. +2
    -7
      tasksel.pl

+ 2
- 0
debian/changelog View File

@@ -9,6 +9,8 @@ tasksel (2.07) UNRELEASED; urgency=low
- Modularised how the list of packages in a task is determined.
- Play with server relevance values a bit to order web server and print
server to the top.
- Use aptitude's new --visual-preview option to allow selection and then
fine-tuning of tasks.
* Per Olofsson
- Added openoffice.org-help-sv and gimp-help-sv to swedish-desktop.
Closes: #259832.


+ 1
- 1
debian/control View File

@@ -8,7 +8,7 @@ Build-Depends: po-debconf, debhelper (>= 4), gettext, dpkg-dev (>= 1.9.0)

Package: tasksel
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, liblocale-gettext-perl, aptitude
Depends: ${shlibs:Depends}, ${misc:Depends}, liblocale-gettext-perl, aptitude (>= 0.2.15-1)
Conflicts: debconf (<< 1.4.27), base-config (<< 2.32)
Description: Tool for selecting tasks for installation on Debian system
This package provides 'tasksel', a simple interface for users who


+ 1
- 1
debian/templates View File

@@ -9,7 +9,7 @@ _Description: Choose software to install:

Template: tasksel/tasks
Type: multiselect
Choices: ${CHOICES}
Choices: ${CHOICES}, manual package selection
_Description: Choose software to install:
You can choose to install one or more of the following predefined
collections of software.


+ 2
- 7
tasksel.pl View File

@@ -351,13 +351,8 @@ sub main {
close IN;
unlink $tmpfile;
map { $_->{_install} = 1 } debconf_to_task($ret, @tasks);
if (! $options{test} && $ret=~/manual package selection/) {
# Doing better than this calls for a way to queue stuff for
# install in aptitude and then enter interactive mode.
my $ret=system("aptitude") >> 8;
if ($ret != 0) {
error gettext("aptitude failed");
}
if ($ret=~/manual package selection/) {
unshift @aptitude_install, "--visual-preview";
}
}



Loading…
Cancel
Save