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 50E76158020 for ; Tue, 22 Nov 2022 14:39:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AE2CE0C4E; Tue, 22 Nov 2022 14:39:06 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5573EE0C4E for ; Tue, 22 Nov 2022 14:39:06 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 95A24341248 for ; Tue, 22 Nov 2022 14:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B32B756 for ; Tue, 22 Nov 2022 14:39:04 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1669127749.472650d23e012e92054ebd8c79da7d33e8415769.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/kitty/kitty-9999.ebuild X-VCS-Directories: x11-terms/kitty/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 472650d23e012e92054ebd8c79da7d33e8415769 X-VCS-Branch: master Date: Tue, 22 Nov 2022 14:39: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: 513ce292-4ae9-416b-8a89-dfeb7f792b62 X-Archives-Hash: c29c59317d29e5476d0122357e753fff commit: 472650d23e012e92054ebd8c79da7d33e8415769 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Nov 22 14:29:25 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Nov 22 14:35:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472650d2 x11-terms/kitty: fix kitty-tool exec bit in live with rework Easy to miss changes to this (not limited to /usr/bin) or forget, so just setup a generic way to preserve executable bits. Could use xargs or so, but rather avoid using external version of ebuild helpers if it's simple to. Signed-off-by: Ionen Wolkens gentoo.org> x11-terms/kitty/kitty-9999.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild index 66de305b3f00..c5d812b82614 100644 --- a/x11-terms/kitty/kitty-9999.ebuild +++ b/x11-terms/kitty/kitty-9999.ebuild @@ -135,8 +135,9 @@ src_install() { insinto /usr doins -r linux-package/. - fperms +x /usr/bin/kitty \ - /usr/$(get_libdir)/kitty/shell-integration/ssh/{askpass.py,kitty} + local execbit + mapfile -t execbit < <(find linux-package -type f -perm /+x -printf '/usr/%P\n' || die) + fperms +x "${execbit[@]}" } pkg_postinst() {