Browse Source

* Hmm, remove --logfile and --logstderr, add more general

--debconf-apt-progress="options" setting.
tags/2.36
Joey Hess 16 years ago
parent
commit
eef52a2ebb
3 changed files with 14 additions and 12 deletions
  1. +7
    -0
      debian/changelog
  2. +4
    -6
      tasksel.pl
  3. +3
    -6
      tasksel.pod

+ 7
- 0
debian/changelog View File

@@ -1,3 +1,10 @@
tasksel (2.36) UNRELEASED; urgency=low

* Hmm, remove --logfile and --logstderr, add more general
--debconf-apt-progress="options" setting.

-- Joey Hess <joeyh@debian.org> Sun, 4 Dec 2005 16:40:14 -0500

tasksel (2.35) unstable; urgency=low

* Set section to admin to match overrides.


+ 4
- 6
tasksel.pl View File

@@ -334,8 +334,6 @@ tasksel [options]
--list-tasks list tasks that would be displayed and exit
--task-packages list available packages in a task
--task-desc returns the description of a task
--logfile file send apt output to the file
--logstderr send apt output to stderr
});
}

@@ -344,8 +342,8 @@ sub getopts {
my %ret;
Getopt::Long::Configure ("bundling");
if (! GetOptions(\%ret, "test|t", "new-install", "list-tasks",
"task-packages=s@", "task-desc=s", "logfile=s",
"logstderr")) {
"task-packages=s@", "task-desc=s",
"debconf-apt-progress=s")) {
usage();
exit(1);
}
@@ -503,8 +501,8 @@ sub main {
}
elsif (-x "/usr/bin/debconf-apt-progress") {
$aptitude="debconf-apt-progress";
$aptitude.=" --logfile $options{logfile}" if exists $options{logfile};
$aptitude.=" --logstderr" if exists $options{logstderr};
$aptitude.=" $options{'debconf-apt-progress'}"
if exists $options{'debconf-apt-progress'};
$aptitude.=" -- aptitude";
}
else {


+ 3
- 6
tasksel.pod View File

@@ -42,13 +42,10 @@ Note that this option may be given more than once.

outputs the extended description of the given task

=item B<--logfile> file
=item B<--debconf-apt-progress> options

Send the normal output from apt to the given file.

=item B<--logstderr>

Send the normal output from apt to stderr.
Pass the specified options to the debconf-apt-progress command that tasksel
runs.

=back



Loading…
Cancel
Save