Hi, You have exactly the same problem with fonts and fc-cache. The current idiom (which works very well) is : - fc-cache call in fontconfig postinstall scriptlet - conditional fc-cache in font packages postinstall scriptlet (using /bin/sh): if [ -x /usr/bin/fc-cache ]; then /usr/bin/fc-cache /usr/share/fonts fi postuninstall scriptlet (using /bin/sh): if [ "$1" = "0" ]; then if [ -x /usr/bin/fc-cache ]; then /usr/bin/fc-cache /usr/share/fonts fi fi This works well, catches 100% of the cases, does not force fontconfig dep in font packages (apps that need the fonts but use another font rendering tech are happy), does not sprinkle triggers everywhere where they're difficult to get rid of. This model should be followed by every package needing optional indexing provided by another packager IMHO Regards, -- Nicolas Mailhot
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
-- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list