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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0E5115808B for ; Sun, 29 Sep 2024 09:52:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C772E2A15; Sun, 29 Sep 2024 09:52:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E6A4E2A15 for ; Sun, 29 Sep 2024 09:52:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57BB1343231 for ; Sun, 29 Sep 2024 09:52:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B31091A09 for ; Sun, 29 Sep 2024 09:52:13 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1727603514.a3fe9ecbce7d7333ee40c9933e4198b17886a8a7.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/atuin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/atuin/atuin-18.3.0-r1.ebuild X-VCS-Directories: app-shells/atuin/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: a3fe9ecbce7d7333ee40c9933e4198b17886a8a7 X-VCS-Branch: master Date: Sun, 29 Sep 2024 09:52:13 +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: d9fe4eb1-4dbb-41f2-9449-d7c6e96a4f2e X-Archives-Hash: 8c024ff3e361dcb73f6b79238f7513ac commit: a3fe9ecbce7d7333ee40c9933e4198b17886a8a7 Author: Florian Schmaus gentoo org> AuthorDate: Sun Sep 29 09:48:41 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sun Sep 29 09:51:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3fe9ecb app-shells/atuin: only create shell-init file if USE=client Closes: https://bugs.gentoo.org/940444 Signed-off-by: Florian Schmaus gentoo.org> app-shells/atuin/atuin-18.3.0-r1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app-shells/atuin/atuin-18.3.0-r1.ebuild b/app-shells/atuin/atuin-18.3.0-r1.ebuild index 6f383e0b5123..584ccab1160b 100644 --- a/app-shells/atuin/atuin-18.3.0-r1.ebuild +++ b/app-shells/atuin/atuin-18.3.0-r1.ebuild @@ -520,6 +520,10 @@ src_compile() { || die done + if ! use client; then + return 0 + fi + mkdir shell-init || die for shell in bash fish zsh; do "${ATUIN_BIN}" init ${shell} > shell-init/${shell} || die @@ -575,6 +579,10 @@ src_install() { dozshcomp "completions/_${PN}" dofishcomp "completions/${PN}.fish" + if ! use client; then + return 0 + fi + insinto "/usr/share/${PN}" doins -r shell-init