From 4ac0a7b9288220f00c948225ac659419ffc08110 Mon Sep 17 00:00:00 2001 From: joeyh Date: Mon, 12 Jun 2006 01:16:32 +0000 Subject: 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 --- autoscripts/postrm-xfonts | 2 +- debian/changelog | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/autoscripts/postrm-xfonts b/autoscripts/postrm-xfonts index 42fea687..e2c8d612 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 2e2d5429..923ae6c6 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 Fri, 9 Jun 2006 16:47:44 -0400 + -- Joey Hess Sun, 11 Jun 2006 12:29:14 -0400 debhelper (5.0.36) unstable; urgency=low -- cgit v1.2.3