CI: fix dnf
Fedora is switching from dnf to dnf5, handle both in CI.
This commit is contained in:

committed by
Dylan Van Assche

parent
29c79c9e3b
commit
b38c8da204
@@ -27,7 +27,8 @@ build_stable:
|
|||||||
before_script:
|
before_script:
|
||||||
# Undo delangification present in the Fedora Docker images
|
# Undo delangification present in the Fedora Docker images
|
||||||
- rm -f /etc/rpm/macros.image-language-conf
|
- rm -f /etc/rpm/macros.image-language-conf
|
||||||
- dnf update -y && dnf install -y $DEPENDENCIES
|
- dnf update -y
|
||||||
|
- if [ -x /bin/dnf ]; then dnf install -y $DEPENDENCIES; else dnf5 install -y $DEPENDENCIES; fi
|
||||||
- dnf reinstall -y glib2
|
- dnf reinstall -y glib2
|
||||||
script:
|
script:
|
||||||
- meson -Dtests=true -Dgtk_doc=true -Dgtk-tests=true _build
|
- meson -Dtests=true -Dgtk_doc=true -Dgtk-tests=true _build
|
||||||
|
Reference in New Issue
Block a user