commit: de501222914bbaaf2458bf578061e6cf955d8e45
Author: Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Sat Mar 13 00:25:52 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 13 00:25:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de501222
app-editors/vscodium-bin: make rg executable on ARM
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
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 862b3ce5..864dd947 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 862b3ce5..864dd947 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 862b3ce5..864dd947 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