From 1f9a7c46e779d377b4aede6ae6bc53a6ee07fcd6 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 5 Dec 2024 15:50:15 +0000 Subject: [PATCH] Ensure a new line is added to dnf repo config The config file might not have a trailing new line, ensure we are not appending to the end of an existing line, breaking the config --- integration/upstream-tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/upstream-tests/test.sh b/integration/upstream-tests/test.sh index 7b5eb9f..e27b57b 100755 --- a/integration/upstream-tests/test.sh +++ b/integration/upstream-tests/test.sh @@ -83,7 +83,7 @@ RuntimeBuildSources=no EOF # Ensure packages built for this test have highest priority -echo "priority=1" >> /etc/yum.repos.d/copr_build* +echo -e "\npriority=1" >> /etc/yum.repos.d/copr_build* # Disable mkosi's own repository logic touch /etc/yum.repos.d/mkosi.repo