Skip to content

Commit 55fc053

Browse files
authored
Support yum package manager
1 parent d9c5fa4 commit 55fc053

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zphisher.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ dependencies() {
206206
sudo pacman -S "$pkg" --noconfirm
207207
elif [[ `command -v dnf` ]]; then
208208
sudo dnf -y install "$pkg"
209+
elif [[ `command -v yum` ]]; then
210+
sudo yum -y install "$pkg"
209211
else
210212
echo -e "\n${RED}[${WHITE}!${RED}]${RED} Unsupported package manager, Install packages manually."
211213
{ reset_color; exit 1; }

0 commit comments

Comments
 (0)