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: ...@@ -15,5 +15,9 @@ packages:
additional_content: additional_content:
- git_url: "" - git_url: ""
target_dir: debian/modules target_dir: debian/modules
- copy:
src: libnginx-mod.nginx.skeleton
dest: libnginx-mod-http-shibboleth.nginx
target_dir: debian
- target_dir: debian - target_dir: debian
patch_dir: patches/nginx patch_dir: patches/nginx
...@@ -78,6 +78,9 @@ def build_package(repo_dir, package_dir, name, ...@@ -78,6 +78,9 @@ def build_package(repo_dir, package_dir, name,
apply_patches(abs_patch_dir) apply_patches(abs_patch_dir)
elif "git_url" in content: elif "git_url" in content:
run_checked(["git", "clone", content["git_url"]]) run_checked(["git", "clone", content["git_url"]])
elif "copy" in content:
copy = content["copy"]
shutil.copy(copy["src"], copy["dest"])
else: else:
raise ValueError( raise ValueError(
"Unknown kind of additional content: {}".format( "Unknown kind of additional content: {}".format(
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment