Skip to content

Commit

Permalink
Remove leftover fi from bash_profile
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>

Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye authored Dec 17, 2024
1 parent 9da1a82 commit a256ed1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions includes/generic/bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

Expand Down

0 comments on commit a256ed1

Please sign in to comment.