From 1088195e8d36b4260b92a2135de42b58bf4629cf Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 4 Dec 2023 17:30:26 +0100 Subject: [PATCH] Fixing setup of python package --- example/test-repo01.yaml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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__: -- 2.39.5