Skip to content

Commit

Permalink
fixup GRAPHS1090_WWW_TITLE/HEADER so it works with spaces (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf authored Jun 1, 2024
1 parent d675bfe commit 9738981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/etc/s6-overlay/startup.d/08-graphs1090-init
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ fi


if [[ -n "${GRAPHS1090_WWW_TITLE}" ]]; then
sed -i "s|WWW_TITLE=.*|WWW_TITLE=${GRAPHS1090_WWW_TITLE}|g" /etc/default/graphs1090
sed -i "s|WWW_TITLE=.*|WWW_TITLE=\"${GRAPHS1090_WWW_TITLE}\"|g" /etc/default/graphs1090
fi
if [[ -n "${GRAPHS1090_WWW_HEADER}" ]]; then
sed -i "s|WWW_HEADER=.*|WWW_HEADER=${GRAPHS1090_WWW_HEADER}|g" /etc/default/graphs1090
sed -i "s|WWW_HEADER=.*|WWW_HEADER=\"${GRAPHS1090_WWW_HEADER}\"|g" /etc/default/graphs1090
fi
if chk_enabled "${GRAPHS1090_HIDE_SYSTEM}" ; then
sed -i "s|HIDE_SYSTEM=.*|HIDE_SYSTEM=yes|g" /etc/default/graphs1090
Expand Down

0 comments on commit 9738981

Please sign in to comment.