Add curl and sudo

Packages “curl” and “sudo” are not default packages to debian-12-standard_12.2-1 container template which causes script to fail.
pull/2469/head
Nibreos 1 year ago committed by GitHub
parent dcd35adf71
commit a6fff57c33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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 |

Loading…
Cancel
Save