summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeyh <joeyh>2006-06-12 01:16:32 +0000
committerjoeyh <joeyh>2006-06-12 01:16:32 +0000
commit4ac0a7b9288220f00c948225ac659419ffc08110 (patch)
treed0b9152b5cf9be1238f9d78539cace8499b6349b
parent1d0708824b6bca8abd6028a306d7512e0c0f0b7b (diff)
r1931: * dh_installxfonts: In postrm, run the deregistraton code even on upgrade,
in case an upgrade involves moving fonts around (or removing or renaming fonts). Closes: #372686
-rw-r--r--autoscripts/postrm-xfonts2
-rw-r--r--debian/changelog6
2 files changed, 5 insertions, 3 deletions
diff --git a/autoscripts/postrm-xfonts b/autoscripts/postrm-xfonts
index 42fea68..e2c8d61 100644
--- a/autoscripts/postrm-xfonts
+++ b/autoscripts/postrm-xfonts
@@ -1,3 +1,3 @@
-if [ "$1" != "upgrade" ] && [ -x "`which update-fonts-dir 2>/dev/null`" ]; then
+if [ -x "`which update-fonts-dir 2>/dev/null`" ]; then
#CMDS#
fi
diff --git a/debian/changelog b/debian/changelog
index 2e2d542..923ae6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,9 +9,11 @@ debhelper (5.0.37) UNRELEASED; urgency=low
* Note: behavior change due to the above: The mere existence of a
debian/package.modules file will no longer make dh_installmodules add code
to maintainer scripts.
- * Untested.
+ * dh_installxfonts: In postrm, run the deregistraton code even on upgrade,
+ in case an upgrade involves moving fonts around (or removing or renaming
+ fonts). Closes: #372686
- -- Joey Hess <joeyh@debian.org> Fri, 9 Jun 2006 16:47:44 -0400
+ -- Joey Hess <joeyh@debian.org> Sun, 11 Jun 2006 12:29:14 -0400
debhelper (5.0.36) unstable; urgency=low