Commit c16abc46 authored by Robin Sonnabend's avatar Robin Sonnabend

Add missing package skeleton copy for nginx-shibboleth

parent 29a1bbe9
Pipeline #584 passed with stage
in 11 minutes and 30 seconds
......@@ -15,5 +15,9 @@ packages:
additional_content:
- git_url: "https://github.com/nginx-shib/nginx-http-shibboleth.git"
target_dir: debian/modules
- copy:
src: libnginx-mod.nginx.skeleton
dest: libnginx-mod-http-shibboleth.nginx
target_dir: debian
- target_dir: debian
patch_dir: patches/nginx
......@@ -78,6 +78,9 @@ def build_package(repo_dir, package_dir, name,
apply_patches(abs_patch_dir)
elif "git_url" in content:
run_checked(["git", "clone", content["git_url"]])
elif "copy" in content:
copy = content["copy"]
shutil.copy(copy["src"], copy["dest"])
else:
raise ValueError(
"Unknown kind of additional content: {}".format(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment