mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Auto install start-codex-exec.sh dependencies (#17990)
This commit is contained in:
committed by
GitHub
Unverified
parent
0bb438bca6
commit
ab715021e6
@@ -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)-$$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user