summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-06-25 12:42:09 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-06-25 12:45:27 +0300
commit882a9e6e80c0e5113c752140608a7f53784d7fdd (patch)
tree22e86b23fd42bba60506e757e7aeabb869fbb87b
parentmail-client/mutt-1.14.5: version bump (diff)
downloadgentoo-882a9e6e80c0e5113c752140608a7f53784d7fdd.tar.gz
gentoo-882a9e6e80c0e5113c752140608a7f53784d7fdd.tar.bz2
gentoo-882a9e6e80c0e5113c752140608a7f53784d7fdd.zip
texlive-module: do not install texmf-var unconditionally
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-rw-r--r--eclass/texlive-module.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index 75ef570cdd8c..15988fb4b54d 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -383,9 +383,11 @@ texlive-module_src_install() {
cp -pR tlpkg "${ED}/usr/share/" || die
fi
- insinto /var/lib/texmf
- [[ -d texmf-var ]] && doins -r texmf-var/.
+ if [[ -d texmf-var ]]; then
+ insinto /var/lib/texmf
+ doins -r texmf-var/.
+ fi
insinto /etc/texmf/updmap.d
[[ -f ${S}/${PN}.cfg ]] && doins "${S}/${PN}.cfg"