fester/install-fester.sh

14 lines
661 B
Bash
Executable File

#!/usr/bin/env bash
# ============================================================
# DEPRECATED — kept only to not break existing docs / workflows.
# Forwards to the unified install.sh. Will be removed in a future
# release.
# ============================================================
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "[install-fester.sh] deprecated — forwarding to install.sh" >&2
# install-fester.sh's default behaviour was a system-wide deploy.
# Map that to: deploy <BASE_DIR> + systemd + observability.
BASE_DIR="${BASE_DIR:-/usr/share/cockpit/fester}"
exec "$REPO_ROOT/install.sh" deploy "$BASE_DIR"