summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-04-02 10:19:48 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-04-02 10:20:37 +0300
commit6c71f0cce20b1ba654b8ab81515231ce5796b24d (patch)
tree730f361623c94409a34e8171871f66399d40cada
parentdev-libs/kpathsea: Version bump (v6.3.3_p20210325) (diff)
downloadgentoo-6c71f0cc.tar.gz
gentoo-6c71f0cc.tar.bz2
gentoo-6c71f0cc.zip
dev-libs/kpathsea: Use tmpfiles for runtime dirs
Closes: https://bugs.gentoo.org/605364 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-rw-r--r--dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild b/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild
index e2fd405ab8c0..365d871b16e3 100644
--- a/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild
+++ b/dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit texlive-common libtool prefix
+inherit texlive-common libtool prefix tmpfiles
TEXMFD_VERSION="10"
@@ -68,8 +68,7 @@ src_install() {
# The default configuration expects it to be world writable, bug #266680
# People can still change it with texconfig though.
- dodir /var/cache/fonts
- fperms 1777 /var/cache/fonts
+ dotmpfiles "${FILESDIR}"/kpathsea.conf
# Take care of fmtutil.cnf and texmf.cnf
dodir /etc/texmf/{fmtutil.d,texmf.d}
@@ -98,6 +97,8 @@ src_install() {
}
pkg_postinst() {
+ tmpfiles_process "${FILESDIR}"/kpathsea.conf
+
etexmf-update
}