summaryrefslogtreecommitdiffstats
path: root/rules/fontconfig.postinst
diff options
context:
space:
mode:
authorBaeuerle, Florian <Florian.Baeuerle@allegion.com>2019-02-20 15:07:53 +0000
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-26 09:13:04 +0100
commitebc96f9c97de4d3db08104de82c181b00b02a794 (patch)
treea58970d6de93a11e69b54003b621101aa5421ee5 /rules/fontconfig.postinst
parent2f88d0401bc3398a0a164c7391d0088dff86c9d3 (diff)
downloadptxdist-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.postinst4
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