[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#543512: update-fonts-alias should skip removed fonts



On Thu, Dec 03, 2009 at 02:04:01AM +0100, Julien Cristau wrote:
> I think I've fixed this, I put a package up for testing at
> http://people.debian.org/~jcristau/xfonts-utils_7.5+1~thep1.dsc
> I haven't tested that this works properly, and I don't know when I can
> do that, so any help would be welcome (install that package, purge it,
> install a font package using the patched debhelper, etc).

Problems found:
- xfonts-utils.{postinst,postrm}.in include shell lib without defining
  $THIS_PACKAGE and $THIS_SCRIPT variables.
- xfonts-utils.postinst.in tries to create the $EXCLUDE file without preparing
  the directory.
- xfonts-utils.postrm.in leaves /var/lib/xfonts directory on purge,
  as detected by piuparts.

I've reapplied the changes to the latest xfonts-utils 7.5+1 and fixed above
problems here:
  http://people.debian.org/~thep/xfonts-utils_7.5+1thep1.dsc

It has also been tested with a font package built with the patched debhelper.

Regards,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/



Reply to: