comms: use sh for Element host-config script

This commit is contained in:
Brad Stein 2026-01-17 18:38:36 -03:00
parent 578ef5e830
commit 96b93a1687

View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
#!/bin/sh
set -eu
HOST_CONFIG="/tmp/element-web-config/config.live.bstein.dev.json"
BASE_CONFIG="/tmp/element-web-config/config.json"
if [[ -f "$BASE_CONFIG" ]]; then
if [ -f "$BASE_CONFIG" ]; then
cp -f "$BASE_CONFIG" "$HOST_CONFIG"
fi