commit:     c61ca1b70c83ac4d4ec098952f5501abbfb68359
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 13 19:59:19 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Apr 13 19:59:19 2020 +0000
URL:        https://gitweb.gentoo.org/proj/tex.git/commit/?id=c61ca1b7

langchinese-post: call default for prepare

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 scripts/texlive/tlpsrc/texlive-langchinese-post-ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/texlive/tlpsrc/texlive-langchinese-post-ebuild 
b/scripts/texlive/tlpsrc/texlive-langchinese-post-ebuild
index 7e95c92..fc67d1a 100644
--- a/scripts/texlive/tlpsrc/texlive-langchinese-post-ebuild
+++ b/scripts/texlive/tlpsrc/texlive-langchinese-post-ebuild
@@ -1,5 +1,6 @@
 # Avoids collision with app-text/ttf2pk2
 src_prepare() {
+       default
        local i=texmf-dist/source/fonts/zhmetrics/ttfonts.map
-       [ -f "${i}" ] && rm -f "${i}"
+       [[ -f ${i} ]] && rm -f "${i}"
 }

Reply via email to