From a6fff57c332cb7d01bdd94c50301610dcc51f6f3 Mon Sep 17 00:00:00 2001 From: Nibreos Date: Sat, 10 Feb 2024 19:42:28 -0600 Subject: [PATCH] Add curl and sudo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Packages “curl” and “sudo” are not default packages to debian-12-standard_12.2-1 container template which causes script to fail. --- misc/code-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/code-server.sh b/misc/code-server.sh index 6ae2d024..140c6d8b 100644 --- a/misc/code-server.sh +++ b/misc/code-server.sh @@ -68,7 +68,7 @@ function msg_ok() { msg_info "Installing Dependencies" apt-get update &>/dev/null -apt-get install -y git &>/dev/null +apt-get install -y git curl sudo &>/dev/null msg_ok "Installed Dependencies" VERSION=$(curl -s https://api.github.com/repos/coder/code-server/releases/latest |