Skip to content

Commit

Permalink
Merge pull request #11 from jotyGill/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jotyGill authored Jul 23, 2020
2 parents b4e8993 + b59f5ef commit c75519a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quickz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
if command -v zsh &> /dev/null && command -v git &> /dev/null && command -v wget &> /dev/null; then
echo -e "ZSH and Git are already installed\n"
else
if sudo pacman -S zsh git wget || sudo apt install -y zsh git wget || sudo dnf install -y zsh git wget || sudo yum install -y zsh git wget || sudo brew install git zsh wget ; then
echo -e "ZSH and Git Installed\n"
if sudo apt install -y zsh git wget || sudo pacman -S zsh git wget || sudo dnf install -y zsh git wget || sudo yum install -y zsh git wget || sudo brew install git zsh wget || pkg install git zsh wget ; then
echo -e "zsh wget and git Installed\n"
else
echo -e "Can't install ZSH or Git\n" && exit
echo -e "Please install the following packages first, then try again: zsh git wget \n" && exit
fi
fi

Expand Down

0 comments on commit c75519a

Please sign in to comment.