2
2
mirror of https://git.coolaj86.com/coolaj86/telebit.js.git synced 2025-03-14 12:10:37 +00:00

fix echo newline expansion

This commit is contained in:
AJ ONeal 2018-06-04 23:48:17 +00:00
parent 0708357b86
commit 05d317e443

View File

@ -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"