fix(installer): pass CHANNEL_POLICIES_FILE env when resolving policy path

This commit is contained in:
2026-02-26 00:38:32 +00:00
parent e5999743fe
commit 714168e4bf

View File

@@ -114,7 +114,7 @@ run_install() {
echo "[whispergate] backup: $BACKUP_PATH" echo "[whispergate] backup: $BACKUP_PATH"
# initialize standalone channel policies file if missing # initialize standalone channel policies file if missing
CHANNEL_POLICIES_FILE_RESOLVED="$(python3 - <<'PY' CHANNEL_POLICIES_FILE_RESOLVED="$(CHANNEL_POLICIES_FILE="$CHANNEL_POLICIES_FILE" python3 - <<'PY'
import os import os
print(os.path.expanduser(os.environ['CHANNEL_POLICIES_FILE'])) print(os.path.expanduser(os.environ['CHANNEL_POLICIES_FILE']))
PY PY