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@riseup.net>
This commit is contained in:
Maciej Barć
2021-03-13 01:25:52 +01:00
parent 8100f53f14
commit de50122291
3 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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