From 45d93e6524f76355cfba80d75b12882d55ccee52 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sat, 3 Feb 2024 16:23:57 -0800 Subject: [PATCH] chore: Support new line in MOTD (#872) --- usr/libexec/ublue-motd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/libexec/ublue-motd b/usr/libexec/ublue-motd index 49ecd134acb..8a884e0d575 100755 --- a/usr/libexec/ublue-motd +++ b/usr/libexec/ublue-motd @@ -23,5 +23,5 @@ if [[ -f "$TIP_FILE" ]]; then TIP_ESCAPED=$(escape "$TIP") - sed -e "s/%IMAGE_NAME%/$IMAGE_NAME_ESCAPED/g" -e "s/%IMAGE_TAG%/$IMAGE_TAG_ESCAPED/g" -e "s/%TIP%/$TIP_ESCAPED/g" /usr/share/ublue-os/motd/bluefin.md | /usr/bin/glow -s auto - + sed -e "s/%IMAGE_NAME%/$IMAGE_NAME_ESCAPED/g" -e "s/%IMAGE_TAG%/$IMAGE_TAG_ESCAPED/g" -e "s/%TIP%/$TIP_ESCAPED/g" /usr/share/ublue-os/motd/bluefin.md | tr '~' '\n' | /usr/bin/glow -s auto - fi \ No newline at end of file