/usr/bin/debconf-communicate is in debconf 1.5.56+deb8u1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/usr/bin/perl -w
# This file was preprocessed, do not edit!
use strict;
use Debconf::Db;
use Debconf::AutoSelect qw(:all);
use Debconf::Config;
use Debconf::Gettext;
Debconf::Db->load;
Debconf::Config->getopt(gettext("Usage: debconf-communicate [options] [package]"));
my $frontend=make_frontend();
my $confmodule=make_confmodule();
$confmodule->owner(shift) if @ARGV;
my $code=127;
autoflush STDOUT 1;
while (<>) {
chomp;
my $ret=$confmodule->process_command($_);
($code, undef)=split(/ /, $ret, 2);
print "$ret\n";
}
$frontend->shutdown;
$confmodule->finish;
Debconf::Db->save;
exit $code;
|