# shellcheck shell=bash | |
_install=(/app/openvscode-server/bin/openvscode-server "--install-extension") | |
if [ "$(whoami)" == "abc" ]; then | |
"${_install[@]}" "$@" | |
else | |
s6-setuidgid abc "${_install[@]}" "$@" | |
fi | |
# shellcheck shell=bash | |
_install=(/app/openvscode-server/bin/openvscode-server "--install-extension") | |
if [ "$(whoami)" == "abc" ]; then | |
"${_install[@]}" "$@" | |
else | |
s6-setuidgid abc "${_install[@]}" "$@" | |
fi | |