Use sudo brew
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
if command -v zsh &> /dev/null && command -v git &> /dev/null ; then
|
if command -v zsh &> /dev/null && command -v git &> /dev/null ; then
|
||||||
echo -e "ZSH and Git are already installed\n"
|
echo -e "ZSH and Git are already installed\n"
|
||||||
else
|
else
|
||||||
if sudo apt install -y zsh git || sudo dnf install -y zsh git || sudo yum install -y zsh git || brew install git zsh ; then
|
if sudo apt install -y zsh git || sudo dnf install -y zsh git || sudo yum install -y zsh git || sudo brew install git zsh ; then
|
||||||
echo -e "ZSH and Git Installed\n"
|
echo -e "ZSH and Git Installed\n"
|
||||||
else
|
else
|
||||||
echo -e "Can't install ZSH or Git\n" && exit
|
echo -e "Can't install ZSH or Git\n" && exit
|
||||||
Reference in New Issue
Block a user