Added pacman support

This commit is contained in:
xFabifont
2020-06-02 11:10:09 +02:00
parent e07931596d
commit 778d8a5a8d

View File

@@ -3,7 +3,7 @@
if command -v zsh &> /dev/null && command -v git &> /dev/null && command -v wget &> /dev/null; then 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" echo -e "ZSH and Git are already installed\n"
else else
if 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 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" 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