Skip to content

Commit

Permalink
chore: Remove redundant dnf5 plugin check
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftydinar authored Dec 23, 2024
1 parent 3423190 commit f176120
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions modules/dnf/dnf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ if ! rpm -q dnf5 &>/dev/null; then
exit 1
fi

# Fail the build if dnf5 plugins aren't installed
if ! rpm -q dnf5-plugins &>/dev/null; then
echo "ERROR: Dependency 'dnf5-plugins' is not installed. It is needed for cleanly adding COPR repositories."
echo " Install 'dnf5-plugins' before using this module to solve this error."
exit 1
fi

# Pull in repos
get_json_array REPOS 'try .["repos"][]' "${1}"
if [[ ${#REPOS[@]} -gt 0 ]]; then
Expand Down

0 comments on commit f176120

Please sign in to comment.