1765937954
This commit is contained in:
@@ -76,11 +76,11 @@ if [ ! -z "$1" ]; then
|
|||||||
echo -e "\nlinuxbrew not found, installing\n"
|
echo -e "\nlinuxbrew not found, installing\n"
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
|
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
|
||||||
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
test -d $HOME/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
### add to rcfile
|
### add to rcfile
|
||||||
echo "# linuxbrew (homebrew/brew)" >> $rcfile
|
# echo "# linuxbrew (homebrew/brew)" >> $rcfile
|
||||||
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
|
# echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
|
||||||
source $rcfile
|
# source $rcfile
|
||||||
else
|
else
|
||||||
echo -e "\nlinuxbrew installed, skipping install\n"
|
echo -e "\nlinuxbrew installed, skipping install\n"
|
||||||
fi
|
fi
|
||||||
@@ -88,7 +88,7 @@ if [ ! -z "$1" ]; then
|
|||||||
if [ ! $(which ponysay) ]; then
|
if [ ! $(which ponysay) ]; then
|
||||||
echo -e "\nponysay not fonud, installiing\n"
|
echo -e "\nponysay not fonud, installiing\n"
|
||||||
brew install ponysay
|
brew install ponysay
|
||||||
echo -e "# ponysay fix\nexport PYTHONWARNINGS=ignore::SyntaxWarning" >> $rcfile
|
# echo -e "# ponysay fix\nexport PYTHONWARNINGS=ignore::SyntaxWarning" >> $rcfile
|
||||||
else
|
else
|
||||||
echo -e "\nponysay already installed, skipping\n"
|
echo -e "\nponysay already installed, skipping\n"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user