From: Frank Brehm Date: Mon, 4 Dec 2023 16:30:26 +0000 (+0100) Subject: Fixing setup of python package X-Git-Tag: 1.8.1^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=1088195e8d36b4260b92a2135de42b58bf4629cf;p=pixelpark%2Fcreate-terraform.git Fixing setup of python package --- diff --git a/example/test-repo01.yaml b/example/test-repo01.yaml index 947fbeb..43d1d6c 100644 --- a/example/test-repo01.yaml +++ b/example/test-repo01.yaml @@ -19,7 +19,7 @@ defaults: customer: pixelpark project: tools tier: production - environment: development + environment: dev_fbrehm contact: solution@pixelpark.com role: dpx_infra::jump_prd nameservers: diff --git a/setup.py b/setup.py index e306f81..f989c37 100644 --- a/setup.py +++ b/setup.py @@ -147,7 +147,7 @@ __data_files__.append(('share/doc/create-terraform', ['README.md'])) __pi_scripts__ = [] for f in __postinst_scriptdir__.glob('*'): - if f.is_file() and os.access(str(f), os.X_OK): + if f.is_file() and (os.access(str(f), os.X_OK) or f.name == 'functions.rc'): relpath = os.path.relpath(str(f), __base_dir__) __pi_scripts__.append(relpath) if __pi_scripts__: