#!/usr/bin/env bash
#
# Install the ANAS PVE web UI integration.
#
# ANAS is a *guest* on the Proxmox system (PRINCIPLES.md #12). This installer:
# 1. Drops our own file into /usr/share/pve-manager/js/ (dpkg never removes
# files it does not own, so it survives pve-manager upgrades).
# 2. Inserts exactly one "
echo "anas: bundle cache-bust token v=${ANAS_JS_HASH}"
else
SCRIPT_TAG=" "
echo "anas: WARNING: sha256sum not found; injecting unversioned anas.js tag (no cache-bust)" >&2
fi
# 2. Insert-OR-UPDATE the