Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 16 lines 603 B view raw
1--- ./ci/build/npm-postinstall.sh 2+++ ./ci/build/npm-postinstall.sh 3@@ -24,13 +24,6 @@ main() { 4 ;; 5 esac 6 7- OS="$(uname | tr '[:upper:]' '[:lower:]')" 8- if curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-agent" -o ./lib/coder-cloud-agent; then 9- chmod +x ./lib/coder-cloud-agent 10- else 11- echo "Failed to download cloud agent; --link will not work" 12- fi 13- 14 if ! vscode_yarn; then 15 echo "You may not have the required dependencies to build the native modules." 16 echo "Please see https://github.com/cdr/code-server/blob/master/doc/npm.md"