2024-08-19 17:06:16 +01:00

11 lines
246 B
Plaintext
Executable File

#!/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