[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 42b55683632a3328e6ffd27063271a635d136cf9



The following commit has been merged in the master branch:
commit 42b55683632a3328e6ffd27063271a635d136cf9
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Tue Jul 8 18:39:55 2008 +0100

    Really don't emit unused-debconf-template for debconf
    
    * Fix broken test which meant that unused-debconf-template was being emitted for debconf
    * Improve the extended description of unused-debconf-template so it looks better
      (well, less bad) on the HTML report

diff --git a/checks/debconf b/checks/debconf
index a6fd769..f643e03 100644
--- a/checks/debconf
+++ b/checks/debconf
@@ -486,7 +486,7 @@ foreach my $template (@templates_seen) {
 	}
     }
     tag "unused-debconf-template", $template
-	unless $used and $pkg ne "debconf";
+	unless $used or $pkg eq "debconf";
 }
 
 # Check that the right dependencies are in the control file.  Accept any
diff --git a/checks/debconf.desc b/checks/debconf.desc
index 070dd29..415e4b7 100644
--- a/checks/debconf.desc
+++ b/checks/debconf.desc
@@ -313,11 +313,13 @@ Info: Templates which are not used by the package should be removed from
  this.  Common causes are:
  .
  - the maintainer scripts embed a variable in to the template name in
-   order to allow a template to be selected from a range of similar
-   templates (e.g. 'db_input low start_$service_at_boot')
+ order to allow a template to be selected from a range of similar
+ templates (e.g. 'db_input low start_$service_at_boot')
+ .
  - the template is not used by the maintainer scripts but is used by
-   a program in the package
+ a program in the package
+ .
  - the maintainer scripts are written in perl.  lintian currently only
-   understands the shell script debconf functions.
+ understands the shell script debconf functions.
  .
  If any of the above applies, please install an override.

-- 
Debian package checker


Reply to: