From b898af29af37c3536204ddd4c480b0bd1e008bb9 Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Sun, 22 Dec 2024 18:15:23 +0100 Subject: [PATCH] chore: Remove useless echo --- modules/dnf/dnf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnf/dnf.sh b/modules/dnf/dnf.sh index 91699f6..4687416 100644 --- a/modules/dnf/dnf.sh +++ b/modules/dnf/dnf.sh @@ -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 ']}"