We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e4c59d commit 50eb609Copy full SHA for 50eb609
src/deno/install.sh
@@ -61,8 +61,10 @@ EXE="${BIN_DIR}/deno"
61
62
# Install global packages if specified
63
# See https://docs.deno.com/runtime/reference/cli/install/#global-installation
64
-if [ "${#PACKAGES[@]}" -gt 0 ]; then
+if [ -n "${PACKAGES}" ]; then
65
echo "Installing global packages..."
66
+ # Replace commas to spaces.
67
+ PACKAGES=${PACKAGES//,/ }
68
su "${_REMOTE_USER}" -c "$EXE install --global --allow-net --allow-read ${PACKAGES}"
69
fi
70
0 commit comments