linux-image: postrm: Remove unnecessary initialisation of debconf
We don't use debconf here any more.
This commit is contained in:
parent
e55913c12b
commit
2d3c4236d2
|
@ -5,19 +5,6 @@ use warnings;
|
|||
use Cwd 'abs_path';
|
||||
use POSIX ();
|
||||
|
||||
# Debconf may not be around here.
|
||||
my $have_debconf = 0;
|
||||
my $capb;
|
||||
|
||||
eval {require Debconf::Client::ConfModule;};
|
||||
if ( ! $@ )
|
||||
{
|
||||
$have_debconf++;
|
||||
import Debconf::Client::ConfModule ':all';
|
||||
version('2.0');
|
||||
$capb=capb("backup");
|
||||
}
|
||||
|
||||
$|=1;
|
||||
# Predefined values:
|
||||
my $version = "@abiname@@localversion@";
|
||||
|
|
Loading…
Reference in New Issue