#!/bin/sh # DEPRECATED — cluster uses ac/* only (ac-workspace + compose-lab-backend.sh). # This script refuses to clone git://f0xx.org/android_cast. set -eu ROOT="$(cd "$(dirname "$0")/.." && pwd)" # shellcheck source=/dev/null . "$ROOT/scripts/lib/common.sh" load_cluster_env LEGACY="${APP_ROOT}/android_cast" if [ -d "${LEGACY}/.git" ]; then _url="$(git -C "$LEGACY" config --get remote.origin.url 2>/dev/null || true)" case "$_url" in *android_cast*) die "legacy monolith still present at $LEGACY ($_url). Run: sudo sh $ROOT/scripts/purge-legacy-monolith.sh" ;; esac fi log "deploy-app: skipped (ac/* compose path — see deploy-ac-workspace.sh + compose-lab-backend.sh)" exit 0