Skip to content
Snippets Groups Projects
Commit c16abc46 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Add missing package skeleton copy for nginx-shibboleth

parent 29a1bbe9
No related branches found
No related tags found
No related merge requests found
Pipeline #584 passed
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment