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 1BDA71382C5 for ; Mon, 15 Jun 2020 19:50:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67E69E0DB9; Mon, 15 Jun 2020 17:23:13 +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 7E3BDE0DB9 for ; Mon, 15 Jun 2020 17:22:53 +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 2B9B734F23A for ; Mon, 15 Jun 2020 17:20:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B48FC27F for ; Mon, 15 Jun 2020 17:20:04 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1592241589.0959f5c012916f832872f2d864fb06552e1d16d5.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/why3-for-spark/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/why3-for-spark/why3-for-spark-2019-r2.ebuild X-VCS-Directories: sci-mathematics/why3-for-spark/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 0959f5c012916f832872f2d864fb06552e1d16d5 X-VCS-Branch: master Date: Mon, 15 Jun 2020 17:20:04 +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: 1aebeabe-1b30-491c-a4c9-f075e100d3ac X-Archives-Hash: 825572500947b1c56eeb9b360055089a commit: 0959f5c012916f832872f2d864fb06552e1d16d5 Author: Alfredo Tupone gentoo org> AuthorDate: Mon Jun 15 17:19:49 2020 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Mon Jun 15 17:19:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0959f5c0 sci-mathematics/why3-for-spark: fix broken links Closes: https://bugs.gentoo.org/728334 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alfredo Tupone gentoo.org> sci-mathematics/why3-for-spark/why3-for-spark-2019-r2.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/why3-for-spark/why3-for-spark-2019-r2.ebuild b/sci-mathematics/why3-for-spark/why3-for-spark-2019-r2.ebuild index 8f82a9c4bb8..7b658828da4 100644 --- a/sci-mathematics/why3-for-spark/why3-for-spark-2019-r2.ebuild +++ b/sci-mathematics/why3-for-spark/why3-for-spark-2019-r2.ebuild @@ -100,8 +100,10 @@ src_install() { dosym ../why3server ${cmdPath}/why3server # Remove duplicated files for filename in config ide realize server session; do - rm "${D}"${cmdPath}/why3${filename} - dosym ../../../bin/why3${filename} ${cmdPath}/why3${filename} + if [[ -e "${D}"${cmdPath}/why3${filename} ]]; then + rm "${D}"${cmdPath}/why3${filename} + dosym ../../../bin/why3${filename} ${cmdPath}/why3${filename} + fi done rm "${D}"/usr/$(get_libdir)/why3/why3cpulimit dosym ../../bin/why3cpulimit /usr/$(get_libdir)/why3/why3cpulimit