2
2
mirror of https://git.coolaj86.com/coolaj86/telebit.js.git synced 2025-02-23 00:58:04 +00:00

fix echo newline expansion

This commit is contained in:
AJ ONeal 2018-06-04 23:48:17 +00:00
parent 9ae6143857
commit 8a41545d17

@ -209,7 +209,10 @@ if [ ! -e "$my_config" ]; then
echo "secret: $my_secret" >> "$my_config"
fi
if [ -n "$my_servernames" ]; then
echo "servernames:\n $my_servernames: {}" >> "$my_config"
# TODO could use printf or echo -e,
# just not sure how portable they are
echo "servernames:" >> "$my_config"
echo " $my_servernames: {}" >> "$my_config"
fi
#echo "dynamic_ports:\n []" >> "$my_config"
cat usr/share/$my_app.tpl.yml >> "$my_config"