Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Auto install start-codex-exec.sh dependencies (#17990)

pakrym-oaiab715021e602
diff --git a/scripts/start-codex-exec.sh b/scripts/start-codex-exec.sh
index 5699c13efd..8835d4c095 100755
--- a/scripts/start-codex-exec.sh
+++ b/scripts/start-codex-exec.sh
@@ -67,11 +67,7 @@ repo_root="$(git rev-parse --show-toplevel 2>/dev/null)" || {
}
ssh "${remote_host}" "mkdir -p ${remote_path}"
-
-if ! ssh "${remote_host}" 'command -v rsync >/dev/null 2>&1'; then
- echo "remote rsync is required on ${remote_host}" >&2
- exit 1
-fi
+ssh "${remote_host}" -C "sudo apt-get install rsync libcap-dev"
sync_instance_id="$(date +%s)-$$"