From a256ed1344592830bb0b6845fb110e827bc538fa Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Tue, 17 Dec 2024 13:06:06 -0700 Subject: [PATCH] Remove leftover `fi` from bash_profile Signed-off-by: Ethan Dye Signed-off-by: Ethan Dye --- includes/generic/bash_profile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/generic/bash_profile b/includes/generic/bash_profile index a9f82c4dc..15576d8fd 100644 --- a/includes/generic/bash_profile +++ b/includes/generic/bash_profile @@ -28,12 +28,11 @@ fi echo if [ -f ~/.firemotd-cache ]; then - cat ~/.firemotd-cache - fi - (FireMotD --theme Gray > ~/.firemotd-cache &) &>/dev/null # does not use cache; might get removed in the near future + cat ~/.firemotd-cache fi -OHPKG="openhab" +(FireMotD --theme Gray > ~/.firemotd-cache &) &>/dev/null # does not use cache; might get removed in the near future +OHPKG="openhab" OHVERSION="$(sed -n 's/openhab-distro\s*: //p' /var/lib/${OHPKG}/etc/version.properties)" OHBUILD="$(sed -n 's/build-no\s*: //p' /var/lib/${OHPKG}/etc/version.properties)"