1762073226

This commit is contained in:
2025-11-02 01:47:06 -07:00
parent b63b2831fb
commit 37ca62cd8c
+5 -6
View File
@@ -81,16 +81,15 @@ if [ ! -z "$1" ]; then
## install homebrew
echo -e "\nlinuxbrew not found, installing\n"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
# test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
### add to rcfile
# echo "# linuxbrew (homebrew/brew)" >> $rcfile
# echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
# source $rcfile
echo "# linuxbrew (homebrew/brew)" >> $rcfile
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
source $rcfile
else
echo -e "\nlinuxbrew installed, skipping install\n"
fi
source $rcfile
### install ponysay
if [ ! $(which ponysay) ]; then
echo -e "\nponysay not fonud, installiing\n"