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

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



On Thu, Aug 27, 2009 at 22:43:44 +0700, Theppitak Karoonboonyanan wrote:

> On Thu, Aug 27, 2009 at 05:13:52PM +0700, Theppitak Karoonboonyanan wrote:
> > On Wed, Aug 26, 2009 at 12:55:04PM -0400, Joey Hess wrote:
> > > Alternatively, have it take a list of the font files that are
> > > going to be removed, and update the file to remove them; then it could
> > > take effect when run at postrm remove time, when dependencies are still
> > > satisfied.
> > 
> > This should work. By maintaining an exclude list on font packages removals,
> > update-fonts-{dir,alias} can skip the removed fonts and can remove the
> > generated fonts.{dir,alias} as soon as the font dirs are empty.
> > 
> > In that case, this bug can be reassigned to xfonts-utils, then.
> 
> I've got a patch for update-fonts-alias following this scheme.
> No exclude list. Just filter the file list by consulting dpkg-query.
> I've tested it by emulating piuparts sequence in a chroot, and it works.

update-fonts-* shouldn't need to know about dpkg, IMO.  Any way we can
avoid this?

Cheers,
Julien



Reply to: