17 lines
523 B
Bash
17 lines
523 B
Bash
#!/usr/bin/env bash
|
|
# 幂等:仅无人直播业务模块(与 install-core 解耦)
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
REPO="$(cd "$ROOT/.." && pwd)"
|
|
|
|
if [[ -x "$REPO/scripts/linux/install_business.sh" ]]; then
|
|
bash "$REPO/scripts/linux/install_business.sh" "$@"
|
|
else
|
|
echo "[live-platform] ERROR: scripts/linux/install_business.sh not found"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir -p /opt/live/business/douyinyoutube
|
|
touch /opt/live/business/douyinyoutube/.installed
|
|
echo "[live-platform] install-live done"
|