fix: properly append pinned version to code-server
This commit is contained in:
@@ -12,7 +12,7 @@ ARGS=(
|
|||||||
"--prefix=${INSTALL_PREFIX}"
|
"--prefix=${INSTALL_PREFIX}"
|
||||||
)
|
)
|
||||||
if [ -n "${VERSION}" ]; then
|
if [ -n "${VERSION}" ]; then
|
||||||
args+=("--version=${VERSION}")
|
ARGS+=("--version=${VERSION}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
output=$(curl -fsSL https://code-server.dev/install.sh | sh -s -- "$${ARGS[@]}")
|
output=$(curl -fsSL https://code-server.dev/install.sh | sh -s -- "$${ARGS[@]}")
|
||||||
|
|||||||
Reference in New Issue
Block a user