fix(pads): add double quotes to APIKEY

JSON file format requires double quoted string data. Add quotes when configuring
ETHERPAD_API_KEY at bbb-pads build scripts.
This commit is contained in:
Pedro Beschorner Marin 2022-01-25 08:47:24 -03:00
parent 18a357455c
commit becce20fa5

View File

@ -8,7 +8,7 @@ case "$1" in
if [ -f /usr/share/etherpad-lite/APIKEY.txt ]; then
API_KEY=$(cat /usr/share/etherpad-lite/APIKEY.txt)
sed -i "s/ETHERPAD_API_KEY/$API_KEY/g" $TARGET
sed -i "s/ETHERPAD_API_KEY/\"$API_KEY\"/g" $TARGET
startService bbb-pads || echo "bbb-pads could not be registered or started"
else