]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Remove the openafs module from DKMS if necessary before adding
authorRuss Allbery <rra@debian.org>
Wed, 4 Nov 2009 05:44:55 +0000 (21:44 -0800)
committerRuss Allbery <rra@debian.org>
Wed, 6 Jan 2010 01:07:53 +0000 (17:07 -0800)
commitde8a7351cb2710fc70096100b5a5c315d05d894c
tree0ea0d351361744bc457c394cf61d66e83615e051
parentbee7ee0964b5f067b9a3ac5e6604cb907a277eb8
Remove the openafs module from DKMS if necessary before adding

* In the postinst of openafs-modules-dkms, if the openafs module is
  already added in DKMS, try to remove it first before adding it.  This
  should more correctly handle the case of a user installing this
  package without the correct kernel headers, having it fail in
  postinst, and then installing the correct headers and having dpkg
  attempt to configure the package again.  Thanks, Philipp Kaluza.
  (Closes: #553542)
(cherry picked from commit c07b0b751d7e768a50f3594e13c8221a304bb455)
debian/openafs-modules-dkms.postinst