Skip to content
Snippets Groups Projects
Unverified Commit 97e13ac2 authored by Roxedus's avatar Roxedus Committed by Dominique Marcadet
Browse files

Add helper for mods

parent 30e1134e
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
_install=(/usr/local/bin/code-server "--extensions-dir" "/config/extensions" "--install-extension")
if [ "$(whoami)" == "abc" ]; then
"${_install[@]}" "$@"
else
s6-setuidgid abc "${_install[@]}" "$@"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment