From 65bc04b63c5835be1dfd30e292a7dd9c8486b9df Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 3 Nov 2009 21:44:38 -0800 Subject: [PATCH] Comment the remove on upgrade in the dkms package prerm --- debian/openafs-modules-dkms.prerm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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# -- 2.39.5