comms: use sh for Element host-config script
This commit is contained in:
parent
578ef5e830
commit
96b93a1687
@ -1,9 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
set -euo pipefail
|
set -eu
|
||||||
|
|
||||||
HOST_CONFIG="/tmp/element-web-config/config.live.bstein.dev.json"
|
HOST_CONFIG="/tmp/element-web-config/config.live.bstein.dev.json"
|
||||||
BASE_CONFIG="/tmp/element-web-config/config.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"
|
cp -f "$BASE_CONFIG" "$HOST_CONFIG"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user