Files
proxmox/scripts/verify/check-dependencies.sh
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

38 lines
1.2 KiB
Bash
Executable File

#!/usr/bin/env bash
# Verify script dependencies for scripts/verify/* and deployment/automation
# See scripts/verify/README.md and docs/11-references/APT_PACKAGES_CHECKLIST.md
set -euo pipefail
REQUIRED=(bash curl jq openssl ssh)
# Optional: used by push-templates, storage-monitor, set-container-password, Blockscout/restart scripts, etc.
OPTIONAL=(sshpass rsync dig ss sqlite3 wscat websocat screen tmux htop shellcheck parallel)
MISSING=()
OPTIONAL_MISSING=()
for cmd in "${REQUIRED[@]}"; do
if ! command -v "$cmd" &>/dev/null; then
MISSING+=("$cmd")
fi
done
if [ ${#MISSING[@]} -gt 0 ]; then
echo "Missing required: ${MISSING[*]}"
exit 1
fi
for cmd in "${OPTIONAL[@]}"; do
if ! command -v "$cmd" &>/dev/null; then
OPTIONAL_MISSING+=("$cmd")
fi
done
echo "All required dependencies present: ${REQUIRED[*]}"
if [ ${#OPTIONAL_MISSING[@]} -gt 0 ]; then
echo "Optional (recommended for automation): ${OPTIONAL[*]}"
echo "Missing optional: ${OPTIONAL_MISSING[*]}"
echo "Install (Debian/Ubuntu): sudo apt install -y sshpass rsync dnsutils iproute2 screen tmux htop shellcheck parallel sqlite3"
echo " (dig from dnsutils; ss from iproute2; wscat/websocat: npm install -g wscat or cargo install websocat)"
fi
exit 0