Browse Source

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

--debconf-apt-progress="options" setting.
keep-around/43e990ab3f4cc50982f8dbc32e3465ca7c827876
Joey Hess 17 years ago
parent
commit
eef52a2ebb
  1. 7
      debian/changelog
  2. 10
      tasksel.pl
  3. 9
      tasksel.pod

7
debian/changelog

@ -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.

10
tasksel.pl

@ -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 {

9
tasksel.pod

@ -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