Skip to content

Commit 5f09eb1

Browse files
committed
ci(fedora): Fix syntax for dnf5
1 parent c298dcf commit 5f09eb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/docker/fedoradev/install-packages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ dnf -y install /usr/bin/xargs
1616
while read -r file; do
1717
case $file in
1818
/*) printf "%s\n" "$file" ;;
19-
*) printf "%s\n" {/usr,}/{,s}bin/"$file" ;;
19+
*) printf "%s\n" {/usr,}/bin/"$file" ;;
2020
esac
2121
done |
22-
xargs dnf --skip-broken -y install
22+
xargs dnf -y install --skip-unavailable --skip-broken
2323
# --skip-broken: avoid failing on not found packages. Also prevents actually
2424
# broken packages from failing the install which is not what we want, but
2525
# there doesn't seem to be way to cleanly just skip the not found ones.

0 commit comments

Comments
 (0)