chore: adjust setup.sh for missing dependencies/tools

This commit is contained in:
OpenVelo Agent
2026-08-04 17:53:52 +00:00
parent 207e2e6bbb
commit d8310605a0
+10
View File
@@ -2,6 +2,16 @@
set -euo pipefail set -euo pipefail
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
cd "${SCRIPT_DIR}"
if [ -w /usr/local/bin ] && [ ! -e /usr/local/bin/build.sh ]; then
ln -s "${SCRIPT_DIR}/build.sh" /usr/local/bin/build.sh || true
fi
if [ -w /usr/local/bin ] && [ ! -e /usr/local/bin/setup.sh ]; then
ln -s "${SCRIPT_DIR}/setup.sh" /usr/local/bin/setup.sh || true
fi
apt-get update apt-get update
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
bash \ bash \