Add '-y' flag to dnf5 commands for automation

This commit is contained in:
humocs-man
2026-05-01 17:09:03 +02:00
committed by GitHub
parent 5e176c5fd0
commit 033940aeef
+2 -2
View File
@@ -1,7 +1,7 @@
#!/usr/bin/bash
set -eoux pipefail
dnf5 install \
dnf5 -y install \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
dnf5 clean all
dnf5 -y clean all