Skip to content

Commit

Permalink
run-tests: dnf5 does not like double dash
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Nov 23, 2024
1 parent 9be0825 commit 9b8407f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ install_rpm_deps () {
applications=(lvm2 python3-docutils python3-pyyaml python3-jinja2
python3-lxml btrfs-progs vim-common python3-coverage python3-inotify cryptsetup)
rpm -q --quiet -- "${applications[@]}" ||
sudo dnf -- install "${applications[@]}" ||
sudo dnf install "${applications[@]}" ||
: # we don’t actually care if this succeeds
}
if { command -pv rpm && command -pv dnf; }>/dev/null; then install_rpm_deps; fi
Expand Down

0 comments on commit 9b8407f

Please sign in to comment.