2022-02-12 16:17:37 -05:00

11 lines
244 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