Files
linux-workspace/rc.local/linuxbrew.sh
Martin Blazik 355384b115 Corrext homebrew rc script
Add path to bin and sbin in the end od PATH
2022-08-24 14:49:33 +02:00

12 lines
257 B
Bash

nop ${BREW_HOME:=/home/linuxbrew}
nop ${BREW:="$BREW_HOME/.linuxbrew/bin/brew"}
if [[ -e "$BREW" ]]; then
path_backup="$PATH"
eval "$($BREW shellenv)"
PATH="$path_backup"
append_path "$HOMEBREW_PREFIX/bin"
append_path "$HOMEBREW_PREFIX/sbin"
fi