Use smarter functions for rc.local/ scripts
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
BREW_HOME=/home/linuxbrew
|
||||
BREW="$BREW_HOME/.linuxbrew/bin/brew"
|
||||
nop ${BREW_HOME:=/home/linuxbrew}
|
||||
nop ${BREW:="$BREW_HOME/.linuxbrew/bin/brew"}
|
||||
|
||||
if [[ -e $BREW ]]; then
|
||||
if [[ -e "$BREW" ]]; then
|
||||
eval "$($BREW shellenv)"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user