From 5fab85c0ff9890918cd90e7dd044b667e261f9e6 Mon Sep 17 00:00:00 2001 From: ephmo <241746745+ephmo@users.noreply.github.com> Date: Sat, 27 Dec 2025 15:26:53 +0200 Subject: [PATCH] chore: revert changes --- src/bin/reprofed-apply.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/reprofed-apply.sh b/src/bin/reprofed-apply.sh index 07aa38c..46cd301 100755 --- a/src/bin/reprofed-apply.sh +++ b/src/bin/reprofed-apply.sh @@ -47,7 +47,8 @@ if [ ! -f "$PROFILE_FILE" ]; then exit 1 fi -if ! DISTRO_VERSION_ID="$DISTRO_VERSION_ID" yq -e '.requires.distro_versions[] == strenv(DISTRO_VERSION_ID)' "$PROFILE_FILE"; then +if ! DISTRO_VERSION_ID="$DISTRO_VERSION_ID" \ + yq -e '.requires.distro_versions[] == strenv(DISTRO_VERSION_ID)' "$PROFILE_FILE"; then msg_error "Fedora version ${DISTRO_VERSION_ID:-unknown} is not supported by the selected profile." exit 1 fi