From de501222914bbaaf2458bf578061e6cf955d8e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sat, 13 Mar 2021 01:25:52 +0100 Subject: [PATCH] app-editors/vscodium-bin: make rg executable on ARM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Barć --- app-editors/vscodium-bin/vscodium-bin-1.53.0.ebuild | 3 +++ app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild | 3 +++ app-editors/vscodium-bin/vscodium-bin-1.53.2.ebuild | 3 +++ 3 files changed, 9 insertions(+) diff --git a/app-editors/vscodium-bin/vscodium-bin-1.53.0.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.53.0.ebuild index 862b3ce544..864dd94752 100644 --- a/app-editors/vscodium-bin/vscodium-bin-1.53.0.ebuild +++ b/app-editors/vscodium-bin/vscodium-bin-1.53.0.ebuild @@ -68,6 +68,9 @@ src_install() { if use amd64 || use arm64; then dosym "../../../../../../../usr/bin/rg" "${EPREFIX}/opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" + else + # On other arches we don't unbundle rg, so we have to make it executable + fperms +x /opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg fi dodoc resources/app/LICENSE.txt resources/app/ThirdPartyNotices.txt diff --git a/app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild index 862b3ce544..864dd94752 100644 --- a/app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild +++ b/app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild @@ -68,6 +68,9 @@ src_install() { if use amd64 || use arm64; then dosym "../../../../../../../usr/bin/rg" "${EPREFIX}/opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" + else + # On other arches we don't unbundle rg, so we have to make it executable + fperms +x /opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg fi dodoc resources/app/LICENSE.txt resources/app/ThirdPartyNotices.txt diff --git a/app-editors/vscodium-bin/vscodium-bin-1.53.2.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.53.2.ebuild index 862b3ce544..864dd94752 100644 --- a/app-editors/vscodium-bin/vscodium-bin-1.53.2.ebuild +++ b/app-editors/vscodium-bin/vscodium-bin-1.53.2.ebuild @@ -68,6 +68,9 @@ src_install() { if use amd64 || use arm64; then dosym "../../../../../../../usr/bin/rg" "${EPREFIX}/opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" + else + # On other arches we don't unbundle rg, so we have to make it executable + fperms +x /opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg fi dodoc resources/app/LICENSE.txt resources/app/ThirdPartyNotices.txt