Skip to content

Commit

Permalink
support dnf5
Browse files Browse the repository at this point in the history
  • Loading branch information
nxadm committed Dec 15, 2024
1 parent 5c3bd6d commit aa90d87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion actions/buildenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ case "$OS" in
;;
fedora)
dnf -q -y upgrade
dnf -q -y groupinstall 'Development Tools'
if [ `cat /etc/os-release | grep VERSION_ID= | cut -d= -f2` == "40" ]; then
dnf -q -y groupinstall 'Development Tools'
else dnf -q -y group install 'Development Tools'
fi
dnf -q -y install gettext git libzstd-devel perl-core
set_os_vars x86_64 libzstd
;;
Expand Down

0 comments on commit aa90d87

Please sign in to comment.