Skip to content

Commit

Permalink
Update dnf.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftydinar authored Dec 23, 2024
1 parent b02014a commit 1aac0f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dnf/dnf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ if [[ ${#REPLACE[@]} -gt 0 ]]; then

# Ensure repository is provided
if [[ "${REPO}" == "null" ]]; then
echo "Error: Key 'from-repo' was declared, but repository URL was not provided."
echo "ERROR: Key 'from-repo' was declared, but repository URL was not provided."
exit 1
fi

Expand All @@ -191,7 +191,7 @@ if [[ ${#REPLACE[@]} -gt 0 ]]; then

# Ensure packages are provided
if [[ ${#PACKAGES[@]} -eq 0 ]]; then
echo "Error: No packages were provided for repository '${REPO}'."
echo "ERROR: No packages were provided for repository '${REPO}'."
exit 1
fi

Expand Down

0 comments on commit 1aac0f1

Please sign in to comment.