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
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user