copr-be: oops a typo, in lua there is no != but ~=

This commit is contained in:
Jakub Kadlcik
2026-01-07 21:50:18 +01:00
parent 55e6989d10
commit a56f61e4b5

View File

@@ -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