chore: Support new line in tips with ~, fix typo.

This commit is contained in:
Kyle Gospodnetich 2024-02-03 15:52:00 -08:00
parent 5b106ea430
commit 615299fa60
2 changed files with 2 additions and 2 deletions

View File

@ -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/bazzite.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/bazzite.md | tr '~' '\n' | /usr/bin/glow -s auto -
fi

View File

@ -9,4 +9,4 @@ Bazzite uses ZSTD compression in BTRFS by default, and deduplicates files across
*Have a large library of ROMs to manage?* ROM Properties Page shell extension is installed by default and makes it much easier, with thumbnails and additional info for all of your files.
*Need more control over your Flatpaks?* Check out the Warehouse and Flatseal applications to manage them.
*Want more tips and tricks?* - [View Documentation](https://universal-blue.discourse.group/docs?topic=287)
*Desktop users: Want a to easily customize MangoHud and vkBasalt?* Use the GOverlay application as a graphical user interface to adjust settings.
*Desktop users: Want to easily customize MangoHud and vkBasalt?* Use the GOverlay application as a graphical user interface to adjust settings.