From 5720358d1bc188ca80a1396b7f445321a98713ba Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 6 Nov 2026 23:42:22 +0100 Subject: [PATCH] MeTube/Yubal: install Deno without its shell setup (#18406) * MeTube: install Deno without its shell setup With -y, deno's install.sh also fetches jsr:@deno/installer-shell-setup to edit the shell profile, and when jsr.io did not answer the install stopped ("JSR package manifest ... failed to load"). Deno goes to /usr/local/bin, which is on PATH, so the shell setup is not needed; CI=1 keeps the installer from asking for it on a terminal. * Modify Deno installation command Update Deno installation command to include CI environment variable. --- ct/metube.sh | 2 +- install/metube-install.sh | 2 +- install/yubal-install.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/metube.sh b/ct/metube.sh index 18cba8cea..77426a747 100644 --- a/ct/metube.sh +++ b/ct/metube.sh @@ -36,7 +36,7 @@ function update_script() { source ~/.bashrc if ! command -v deno &>/dev/null; then export DENO_INSTALL="/usr/local" - curl -fsSL https://deno.land/install.sh | $STD sh -s -- -y + curl -fsSL https://deno.land/install.sh | CI=1 $STD sh -s else $STD deno upgrade fi diff --git a/install/metube-install.sh b/install/metube-install.sh index d8ab4cf75..72a6dd3e7 100644 --- a/install/metube-install.sh +++ b/install/metube-install.sh @@ -26,7 +26,7 @@ NODE_VERSION="24" NODE_MODULE="corepack,pnpm" setup_nodejs msg_info "Installing Deno" export DENO_INSTALL="/usr/local" -curl -fsSL https://deno.land/install.sh | $STD sh -s -- -y +curl -fsSL https://deno.land/install.sh | CI=1 $STD sh -s [[ ":$PATH:" != *":/usr/local/bin:"* ]] && echo -e "\nexport PATH=\"/usr/local/bin:\$PATH\"" >>~/.bashrc && source ~/.bashrc diff --git a/install/yubal-install.sh b/install/yubal-install.sh index f58eac071..ed9a987e4 100644 --- a/install/yubal-install.sh +++ b/install/yubal-install.sh @@ -31,7 +31,7 @@ ln -sf /opt/bun/bin/bunx /usr/local/bin/bunx msg_ok "Installed Bun" msg_info "Installing Deno" -$STD sh -c "curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y" +curl -fsSL https://deno.land/install.sh | CI=1 $STD sh -s msg_ok "Installed Deno" msg_info "Creating directories"