summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Janzen <jon@jonjanzen.com>2023-02-19 07:21:04 -0800
committerArthur Zamarin <arthurzam@gentoo.org>2023-02-20 13:45:19 +0200
commit42ad7a399e2186c58d6e63fcc12b44064bbebd41 (patch)
treecfe6d86a97061a9cfbc5af62fe2183a082ddb727 /app-editors/vscode
parentsys-kernel/gentoo-sources: add 6.2.0 and genpatches (diff)
downloadgentoo-42ad7a399e2186c58d6e63fcc12b44064bbebd41.tar.gz
gentoo-42ad7a399e2186c58d6e63fcc12b44064bbebd41.tar.bz2
gentoo-42ad7a399e2186c58d6e63fcc12b44064bbebd41.zip
app-editors/{vscode,vscodium}: Mark ssh-askpass script as executable
When using an SSH key that has a passcord, VS Code calls this script to authenticate. Without it being marked as executable the Git SSH operation fails. Signed-off-by: Jon Janzen <jon@jonjanzen.com> Closes: https://github.com/gentoo/gentoo/pull/29665 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors/vscode')
-rw-r--r--app-editors/vscode/vscode-1.75.0-r2.ebuild (renamed from app-editors/vscode/vscode-1.75.0-r1.ebuild)2
-rw-r--r--app-editors/vscode/vscode-1.75.1-r1.ebuild (renamed from app-editors/vscode/vscode-1.75.1.ebuild)2
2 files changed, 2 insertions, 2 deletions
diff --git a/app-editors/vscode/vscode-1.75.0-r1.ebuild b/app-editors/vscode/vscode-1.75.0-r2.ebuild
index 4dfa8178e6ec..593a70028957 100644
--- a/app-editors/vscode/vscode-1.75.0-r1.ebuild
+++ b/app-editors/vscode/vscode-1.75.0-r2.ebuild
@@ -107,7 +107,7 @@ src_install() {
fperms +x /opt/${PN}/{,bin/}code
fperms +x /opt/${PN}/chrome_crashpad_handler
fperms 4711 /opt/${PN}/chrome-sandbox
- fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor}{,-empty}.sh
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor,ssh-askpass}{,-empty}.sh
fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/node-pty/build/Release/spawn-helper
diff --git a/app-editors/vscode/vscode-1.75.1.ebuild b/app-editors/vscode/vscode-1.75.1-r1.ebuild
index 4dfa8178e6ec..593a70028957 100644
--- a/app-editors/vscode/vscode-1.75.1.ebuild
+++ b/app-editors/vscode/vscode-1.75.1-r1.ebuild
@@ -107,7 +107,7 @@ src_install() {
fperms +x /opt/${PN}/{,bin/}code
fperms +x /opt/${PN}/chrome_crashpad_handler
fperms 4711 /opt/${PN}/chrome-sandbox
- fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor}{,-empty}.sh
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor,ssh-askpass}{,-empty}.sh
fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/node-pty/build/Release/spawn-helper