Skip to content

Commit

Permalink
[common] Split fedora alone
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 16, 2023
1 parent 511db02 commit f159d2e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,14 @@ function required_packages() {
case $DISTRO_NAME in
debian | ubuntu)
apt-get update &>>"$LOG_FILE"
apt-get install --no-install-recommends -y python3.11 python3.11-dev python3-pip python3-venv whiptail expect jq git &>>"$LOG_FILE"
apt-get install --no-install-recommends -y python3.11 python3.11-dev python3-pip python3-venv whiptail expect jq &>>"$LOG_FILE"
;;
fedora | rocky | centos | rhel)
dnf install -y python3.11 python3.11-devel python3-pip python3-virtualenv newt expect jq git &>>"$LOG_FILE"
fedora)
dnf install -y python3.11 python3.11-devel python3-pip python3-virtualenv newt expect jq &>>"$LOG_FILE"
;;
rocky | centos | rhel)
dnf install -y python3.11 python3.11-devel python3-pip newt expect jq &>>"$LOG_FILE"
;;
*)
echo -e "[$fail_format]"
echo "Operating systemd not supported."
Expand Down

0 comments on commit f159d2e

Please sign in to comment.