From 973898182fee7d46cd683a9f2b4e2de34396b392 Mon Sep 17 00:00:00 2001 From: wiedehopf Date: Sat, 1 Jun 2024 17:47:32 +0200 Subject: [PATCH] fixup GRAPHS1090_WWW_TITLE/HEADER so it works with spaces (#194) --- rootfs/etc/s6-overlay/startup.d/08-graphs1090-init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/s6-overlay/startup.d/08-graphs1090-init b/rootfs/etc/s6-overlay/startup.d/08-graphs1090-init index 7b82a7a..127cf81 100755 --- a/rootfs/etc/s6-overlay/startup.d/08-graphs1090-init +++ b/rootfs/etc/s6-overlay/startup.d/08-graphs1090-init @@ -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