Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328205 - Font eclass updates fontconfig's cache twice
Summary: Font eclass updates fontconfig's cache twice
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-14 02:09 UTC by Ari Entlich
Modified: 2010-07-15 02:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ari Entlich 2010-07-14 02:09:04 UTC
The font eclass (font.eclass) runs "fc-cache -fs" twice, first in postinst and then in postrm. This seems like a bit of a waste to me.

Reproducible: Always
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2010-07-15 02:10:16 UTC
needs to be run on install of new font: postinst.
needs to be run on uninstall of a font: postrm.
needs to be run on upgrade: postrm.

but there's no way to know that we could have skipped postinst until postrm is run.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2010-07-15 02:12:48 UTC
forgot.

needs to be run on reinstall: postinst

so really no way of knowing.