vscode / root /usr /local /bin /install-extension
nateraw's picture
Synced repo using 'sync_with_huggingface' Github Action
f3ec5f5
raw
history blame
244 Bytes
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
_install=(/app/openvscode-server/bin/openvscode-server "--install-extension")
if [ "$(whoami)" == "abc" ]; then
"${_install[@]}" "$@"
else
s6-setuidgid abc "${_install[@]}" "$@"
fi