]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Fixing setup of python package
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 4 Dec 2023 16:30:26 +0000 (17:30 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 4 Dec 2023 16:30:26 +0000 (17:30 +0100)
example/test-repo01.yaml
setup.py

index 947fbebef90781b9abc24aa90ef878207a113ebd..43d1d6c8f7c644b7420f9b7b1b7974588d527c88 100644 (file)
@@ -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:
index e306f812b9114c23921acc4b38130d954077b992..f989c37ef7141a805a1b2a70b42a2cf9689e4903 100644 (file)
--- 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__: