| #!/usr/bin/env bash | |
| set -euo pipefail | |
| echo "[SOVEREIGN] Verifying bundle integrity…" | |
| ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| cd "$ROOT_DIR" | |
| if [ ! -f "./checksums/CHECKSUMS.sha256" ]; then | |
| echo "[WARN] No checksum file found. Skipping verification." | |
| exit 0 | |
| fi | |
| sha256sum -c ./checksums/CHECKSUMS.sha256 | |
| echo "[SOVEREIGN] Integrity check passed." | |