diff options
author | Baeuerle, Florian <Florian.Baeuerle@allegion.com> | 2019-02-20 15:07:53 +0000 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-26 09:13:04 +0100 |
commit | ebc96f9c97de4d3db08104de82c181b00b02a794 (patch) | |
tree | a58970d6de93a11e69b54003b621101aa5421ee5 /rules/fontconfig.postinst | |
parent | 2f88d0401bc3398a0a164c7391d0088dff86c9d3 (diff) | |
download | ptxdist-ebc96f9c97de4d3db08104de82c181b00b02a794.tar.gz ptxdist-ebc96f9c97de4d3db08104de82c181b00b02a794.tar.xz |
fontconfig: untangle from xorg-fonts
The rc-once fc-cache drop-in used to be installed via the xorg-fonts
package, which can be undesirable when using collections in combination
with image packages. Untangle the packages by installing the rc-once
drop-in via the fontconfig package.
Signed-off-by: Florian Bäuerle <florian.baeuerle@allegion.com>
[mol: move 'select' to toplevel option]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/fontconfig.postinst')
-rw-r--r-- | rules/fontconfig.postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/fontconfig.postinst b/rules/fontconfig.postinst new file mode 100644 index 000000000..0041746d0 --- /dev/null +++ b/rules/fontconfig.postinst @@ -0,0 +1,4 @@ +#!/bin/sh +if [ -e $DESTDIR/etc/rc.once.d/fc-cache ]; then + $DESTDIR/usr/sbin/enable-rc-once fc-cache +fi |