From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EAF061381F3 for ; Mon, 13 Apr 2020 19:59:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E3CDE0B5E; Mon, 13 Apr 2020 19:59:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11B9BE0B5E for ; Mon, 13 Apr 2020 19:59:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B8A834ED6B for ; Mon, 13 Apr 2020 19:59:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B7B2D17 for ; Mon, 13 Apr 2020 19:59:38 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1586807959.c61ca1b70c83ac4d4ec098952f5501abbfb68359.zlogene@gentoo> Subject: [gentoo-commits] proj/tex:master commit in: scripts/texlive/tlpsrc/ X-VCS-Repository: proj/tex X-VCS-Files: scripts/texlive/tlpsrc/texlive-langchinese-post-ebuild X-VCS-Directories: scripts/texlive/tlpsrc/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: c61ca1b70c83ac4d4ec098952f5501abbfb68359 X-VCS-Branch: master Date: Mon, 13 Apr 2020 19:59:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3519f4d8-e143-4b89-a38c-a052b0b39199 X-Archives-Hash: 6ee3db0d81bf97c4e099d7e190a50793 commit: c61ca1b70c83ac4d4ec098952f5501abbfb68359 Author: Mikle Kolyada gentoo org> AuthorDate: Mon Apr 13 19:59:19 2020 +0000 Commit: Mikle Kolyada gentoo 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 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}" }