From ce4163cdb1717f9caa9fb28ec8fd68832be674d8 Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:59:28 +0100 Subject: [PATCH] fix: Don't quote the flags, else dnf will see it as an empty argument part 1 Co-authored-by: Gerald Pinder --- 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 8318b67..d3fa233 100644 --- a/modules/dnf/dnf.sh +++ b/modules/dnf/dnf.sh @@ -112,7 +112,7 @@ if [[ ${#GROUP_INSTALL[@]} -gt 0 && ${#GROUP_REMOVE[@]} -gt 0 ]]; then echo "Removing: ${GROUP_REMOVE[*]}" echo "Installing: ${GROUP_INSTALL[*]}" dnf -y group remove "${GROUP_REMOVE[@]}" - dnf -y "${WEAK_DEPS_FLAG}" group install --refresh "${SKIP_UNAVAILABLE_FLAG}" "${SKIP_BROKEN_FLAG}" "${ALLOW_ERASING_FLAG}" "${GROUP_INSTALL[@]}" + dnf -y ${WEAK_DEPS_FLAG} group install --refresh ${SKIP_UNAVAILABLE_FLAG} ${SKIP_BROKEN_FLAG} ${ALLOW_ERASING_FLAG} "${GROUP_INSTALL[@]}" elif [[ ${#GROUP_INSTALL[@]} -gt 0 ]]; then echo "Installing RPM groups" echo "Installing: ${GROUP_INSTALL[*]}"