mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 12:47:04 +00:00
01_install.sh runs before python3 exists, so load.sh is skipped and INFINITO_PACKAGE_INSTALL_SCRIPT was unset; grep it from default.env like scripts/install/package.sh already does. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 lines
531 B
Bash
Executable File
15 lines
531 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Install package prerequisites and repository dependencies.
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
# shellcheck source=scripts/tests/environment/utils/common.sh
|
|
source "${SCRIPT_DIR}/utils/common.sh"
|
|
|
|
# shellcheck source=/dev/null
|
|
source <(grep -E '^INFINITO_PACKAGE_INSTALL_SCRIPT=' "${REPO_ROOT}/default.env")
|
|
bash "${REPO_ROOT}/${INFINITO_PACKAGE_INSTALL_SCRIPT:?}"
|
|
|
|
echo "Installing Python tooling, Ansible collections, and all repository dependencies."
|
|
make install
|