[linux] 02/02: linux-image: postrm: Remove unnecessary initialisation of debconf
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sun May 29 21:15:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux.
commit 2d3c4236d293112f89b5f7d71e8f10c40fa51303
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Sun May 29 19:48:43 2016 +0100
linux-image: postrm: Remove unnecessary initialisation of debconf
We don't use debconf here any more.
---
debian/templates/image.postrm.in | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/debian/templates/image.postrm.in b/debian/templates/image.postrm.in
index 23ee343..40cca7f 100755
--- a/debian/templates/image.postrm.in
+++ b/debian/templates/image.postrm.in
@@ -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@";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list