Skip to content

Commit

Permalink
chore: add default value for HOMEBREW_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
GarciaLnk committed Dec 15, 2024
1 parent bed3163 commit 1369820
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system_files/shared/usr/share/ublue-os/bluefin-cli/bling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ if [ "$(command -v ug)" ]; then
alias xzfgrep='ug -zF'
fi

HOMEBREW_PREFIX="${HOMEBREW_PREFIX:-/home/linuxbrew/.linuxbrew}"

if [ "$(basename "$SHELL")" = "bash" ]; then
#shellcheck disable=SC1091
[ -f "${HOMEBREW_PREFIX}"/etc/profile.d/bash-preexec.sh ] && . "${HOMEBREW_PREFIX}"/etc/profile.d/bash-preexec.sh
Expand Down

0 comments on commit 1369820

Please sign in to comment.