From: Russ Allbery Date: Wed, 4 Nov 2009 05:44:38 +0000 (-0800) Subject: Comment the remove on upgrade in the dkms package prerm X-Git-Tag: debian/1.4.11+dfsg-5~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=65bc04b63c5835be1dfd30e292a7dd9c8486b9df;p=packages%2Fo%2Fopenafs.git Comment the remove on upgrade in the dkms package prerm --- diff --git a/debian/openafs-modules-dkms.prerm b/debian/openafs-modules-dkms.prerm index d32321f57..116e70174 100644 --- a/debian/openafs-modules-dkms.prerm +++ b/debian/openafs-modules-dkms.prerm @@ -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#