fix(installer): pass CHANNEL_POLICIES_FILE env when resolving policy path
This commit is contained in:
@@ -114,7 +114,7 @@ run_install() {
|
||||
echo "[whispergate] backup: $BACKUP_PATH"
|
||||
|
||||
# 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
|
||||
print(os.path.expanduser(os.environ['CHANNEL_POLICIES_FILE']))
|
||||
PY
|
||||
|
||||
Reference in New Issue
Block a user