mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-10 01:26:32 +02:00
Write backends comma-separated to config
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
parent
5a84dd7d65
commit
a083cf3001
|
@ -216,7 +216,8 @@ if [ ! -f "$CONFIG" ]; then
|
|||
fi
|
||||
|
||||
if [ ! -z "$BACKENDS" ]; then
|
||||
sed -i "s|#backends = .*|backends = $BACKENDS|" "$CONFIG"
|
||||
BACKENDS_CONFIG=$(echo $BACKENDS | sed 's/ /,/g')
|
||||
sed -i "s|#backends = .*|backends = $BACKENDS_CONFIG|" "$CONFIG"
|
||||
|
||||
echo >> "$CONFIG"
|
||||
for backend in $BACKENDS; do
|
||||
|
|
Loading…
Reference in a new issue