diff --git a/bootstrap.sh b/bootstrap.sh index ac72bfc..4cede9a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -275,7 +275,7 @@ info "Starting containers..." docker compose up -d info "Installing gutasktool inside agent0 container..." -docker exec agent0 bash -c "while fuser /var/lib/apt/lists/lock /var/lib/dpkg/lock-frontend >/dev/null 2>&1; do sleep 1; done && apt-get update -q && apt-get install -y -q python3-pip && python3 -m pip install --break-system-packages -q -e /a0/usr/gutasktool" +docker exec agent0 bash -c "while [ -f /var/lib/apt/lists/lock ] || [ -f /var/lib/dpkg/lock-frontend ]; do sleep 2; done && apt-get update -q && apt-get install -y -q python3-pip && python3 -m pip install --break-system-packages -q -e /a0/usr/gutasktool" echo "" docker compose ps