]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Comment the remove on upgrade in the dkms package prerm
authorRuss Allbery <rra@debian.org>
Wed, 4 Nov 2009 05:44:38 +0000 (21:44 -0800)
committerRuss Allbery <rra@debian.org>
Wed, 6 Jan 2010 01:07:40 +0000 (17:07 -0800)
(cherry picked from commit 65bc04b63c5835be1dfd30e292a7dd9c8486b9df)

debian/openafs-modules-dkms.prerm

index d32321f57a4502445986a1eea063e77b316082ae..116e70174430cb02ae49c07a47493d87ecb10c44 100644 (file)
@@ -10,7 +10,9 @@ version=`dpkg-query -W -f='${Version}' "$package" \
 
 # In some cases, broken packages have caused this to fail.  If the sysadmin
 # manually deletes the directory, that will also fail.  In neither case
-# should we abort the postrm, so ignore failure.
+# should we abort the postrm, so ignore failure.  Note that we intentionally
+# do this unconditionally on upgrade so that dkms will re-add the new version
+# of the package.
 dkms remove -m openafs -v "$version" --all || true
 
 #DEBHELPER#