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