Update sync-vps-repos.sh to include automated Node.js installation for full test execution parity per Plan #69

This commit is contained in:
Hermes Agent committed 2026-12-02 11:35:31 +00:00
1 parent 51f4a59e26
commit 2e9292322c
2 files changed
+7 -7

No files matched your search

+5 -5
View File
@@ -199,14 +199,14 @@ ${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/learn" "${LIVE_REPOS}/learn"
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/quant" "${LIVE_REPOS}/quant"
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/donate" "${LIVE_REPOS}/donate"
echo "[3b/5] Generating untracked deploy-time /quant/audio/*.wav spoken voice tracks (Strategies 1A & 2A: flite kal16 + background slt upgrade, 0 audio files in Git)..."
if [[ -z "$(type -P flite || true)" ]] || [[ -z "$(type -P espeak-ng || true)" ]]; then
if [[ -z "$(type -P flite || true)" ]] || [[ -z "$(type -P espeak-ng || true)" ]] || [[ -z "$(type -P node || true)" ]]; then
if [[ "${DO_CADDY}" -eq 1 ]]; then
if [[ -n "$(type -P dnf || true)" ]]; then
echo " -> Installing flite & espeak-ng via dnf for natural spoken English tour narration..."
${SUDO} dnf install -y -q flite espeak-ng || true
echo " -> Installing flite, espeak-ng & nodejs via dnf for full development-production test execution parity..."
${SUDO} dnf install -y -q flite espeak-ng nodejs || true
elif [[ -n "$(type -P apt-get || true)" ]]; then
echo " -> Installing flite & espeak-ng via apt-get for natural spoken English tour narration..."
${SUDO} env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq flite espeak-ng || true
echo " -> Installing flite, espeak-ng & nodejs via apt-get for full development-production test execution parity..."
${SUDO} env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq flite espeak-ng nodejs npm || true
fi
fi
fi