From a56f61e4b513cf446e5cd5a376ab5bbd3219eb0d Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Wed, 7 Jan 2026 21:50:18 +0100 Subject: [PATCH] copr-be: oops a typo, in lua there is no != but ~= --- roles/copr/backend/templates/lighttpd/pulp-redirect.lua.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/lighttpd/pulp-redirect.lua.j2 b/roles/copr/backend/templates/lighttpd/pulp-redirect.lua.j2 index 970c998b2c..9a02a69496 100644 --- a/roles/copr/backend/templates/lighttpd/pulp-redirect.lua.j2 +++ b/roles/copr/backend/templates/lighttpd/pulp-redirect.lua.j2 @@ -64,7 +64,7 @@ function pulp_url(copr_path) url = url .. "/" end - if copr_path:sub(-4) != ".rpm" then + if copr_path:sub(-4) ~= ".rpm" then -- This is easy for .xml files inside the repodata, because in Pulp they are -- located at the same place where they would be on Copr backend. -- e.g. @copr/copr-dev/fedora-43-x86_64/repodata/repomd.xml