summary refs log blame commit diff
path: root/pkgs/servers/code-server/remove-cloud-agent-download.patch
blob: 0b16e16aec8b420c0bbe09015d8e893f24bd33b8 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                 





                                             
                                                                                                                                     






                                                                                   
                                                                                 
--- ./ci/build/npm-postinstall.sh
+++ ./ci/build/npm-postinstall.sh
@@ -58,14 +58,6 @@

   OS="$(uname | tr '[:upper:]' '[:lower:]')"

-  mkdir -p ./lib
-
-  if curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent; then
-    chmod +x ./lib/coder-cloud-agent
-  else
-    echo "Failed to download cloud agent; --link will not work"
-  fi
-
   if ! vscode_yarn; then
     echo "You may not have the required dependencies to build the native modules."
     echo "Please see https://github.com/cdr/code-server/blob/master/docs/npm.md"