diff --git a/.github/workflows/install-dependencies b/.github/workflows/install-dependencies index ee978acf..14943f9f 100755 --- a/.github/workflows/install-dependencies +++ b/.github/workflows/install-dependencies @@ -24,7 +24,16 @@ debian:*|ubuntu:*) ;; fedora:*) + grep -e '\[[a-z]*\]' /etc/dnf/dnf.conf || + { + printf '[main]\n' >> /etc/dnf/dnf.conf.fixed + cat /etc/dnf/dnf.conf >> /etc/dnf/dnf.conf.fixed + mv /etc/dnf/dnf.conf.fixed /etc/dnf/dnf.conf + } echo 'max_parallel_downloads=10' >> /etc/dnf/dnf.conf + echo '--------------- /etc/dnf/dnf.conf -------------' + cat /etc/dnf/dnf.conf + echo '--------------- /etc/dnf/dnf.conf -------------' dnf -y clean all dnf -y --setopt=deltarpm=0 update dnf -y install ${COMMON} pkgconfig openssl-devel zlib-devel jansson-devel