#!/usr/bin/env bash set -euo pipefail FILE="/opt/hx-ki/workspaces/homepage/homepage.json" echo "=== Repair homepage.json ===" if [[ ! -f "$FILE" ]]; then echo "✘ homepage.json fehlt – wird neu erstellt." cat > "$FILE" < "$FILE" <