Skip to content

Commit

Permalink
chore: Remove useless echo
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftydinar authored Dec 22, 2024
1 parent 1396a18 commit b898af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dnf/dnf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [[ ${#REPOS[@]} -gt 0 ]]; then
repo="${repo//%OS_VERSION%/${OS_VERSION}}"
# Extract copr repo array element properly here without JSON brackets (jq doesn't extract elements with spaces properly like yq does)
if [[ "${repo}" == "{\"copr\":\""*"\"}" ]]; then
REPOS[$i]="$(echo "copr: $(echo "${repo}" | jq -r '.copr')")"
REPOS[$i]="copr: $(echo "${repo}" | jq -r '.copr')"
else
# Trim all whitespaces/newlines for other repos
REPOS[$i]="${repo//[$'\t\r\n ']}"
Expand Down

0 comments on commit b898af2

Please sign in to comment.