mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 23:03:16 +08:00
copr-be: oops a typo, in lua there is no != but ~=
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user