~ubuntu-branches/ubuntu/precise/kernel-package/precise

« back to all changes in this revision

Viewing changes to kernel/pkg/doc/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Manoj Srivastava
  • Date: 2010-02-15 20:20:40 UTC
  • Revision ID: james.westby@ubuntu.com-20100215202040-gk6t7oyf20s1emij
Tags: 12.033
* New bug fixing revision
* [5226aad]: Change perl pattern match expressions in maintainer
  scripts to use the first occurrence only Also, anchor matches to the
  beginning of line.
  Bug fix: "See Bug#568317: linux-image-* postinst did not correctly run
  lilo", thanks to Paul Szabo                            (Closes: #568823).
* [88f663a]: Fix a cut-and-paste typo
  Bug fix: "[kernel-package] syntax error in
  rulesets/targets/common.mk", thanks to Daniel Schaal   (Closes: #564452).
* [2292461]: Allow a 0 revision
  Dont just test $version, but make sure that it is defined
  and non-empty, and thus permit a 0 revision.
  Bug fix: "Doesn't allow 0 revision", thanks to Matt Kraai (Closes: #566510).
* [b804928]: Add a -j/--jobs option to make-kpkg
  This allows the user to build a kernel image package in parrallel, by
  using the internal CONCURRENCY_LEVEL variable. Idea and code from
  owen.riddy@gmail.com. 
  Bug fix: "Please add a '-jX' flag to make-kpkg", thanks to
  owen.riddy@gmail.com                                        (Closes: #569760).

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
      s/\#.*$//g;
78
78
      next if /^\s*$/;
79
79
 
80
 
      $doc_preinst_hook    = "$1"  if /doc_preinst_hook\s*=\s*(\S+)/ig;
81
 
      $doc_postinst_hook   = "$1"  if /doc_postinst_hook\s*=\s*(\S+)/ig;
82
 
      $doc_prerm_hook   = "$1"  if /doc_prerm_hook\s*=\s*(\S+)/ig;
83
 
      $doc_postinst_hook   = "$1"  if /doc_postinst_hook\s*=\s*(\S+)/ig;
 
80
      $doc_preinst_hook    = "$1"  if m/^\s*doc_preinst_hook\s*=\s*(\S+)/i;
 
81
      $doc_postinst_hook   = "$1"  if m/^\s*doc_postinst_hook\s*=\s*(\S+)/i;
 
82
      $doc_prerm_hook      = "$1"  if m/^\s*doc_prerm_hook\s*=\s*(\S+)/i;
 
83
      $doc_postinst_hook   = "$1"  if m/^\s*doc_postinst_hook\s*=\s*(\S+)/i;
84
84
    }
85
85
    close CONF;
86
86
    $have_conffile = "Yes";