From: Frank Brehm Date: Thu, 9 Dec 2021 10:35:25 +0000 (+0100) Subject: Adding etc/profile.d/pp-admintools.sh for installation in setup.py X-Git-Tag: 0.4.1~4^2~44 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=4c62fef87b1af1434b22a93fdb52c274550ab744;p=pixelpark%2Fpp-admin-tools.git Adding etc/profile.d/pp-admintools.sh for installation in setup.py --- diff --git a/setup.py b/setup.py index a3eb47d..dcce271 100644 --- a/setup.py +++ b/setup.py @@ -143,14 +143,15 @@ __scripts__ = [ __data_files__ = [] __admin_scripts__ = [] -__data_files__.append(('etc/pixelpark', ['etc/dns-deploy-zones.ini.default'])) +__data_files__.append(('/etc/pixelpark', ['etc/dns-deploy-zones.ini.default'])) +__data_files__.append(('/etc/profile.d', ['etc/profile.d/pp-admintools.sh'])) for f in __script_dir__.glob('*'): if f.is_file(): relpath = os.path.relpath(str(f), str(__base_dir__)) __admin_scripts__.append(relpath) if __admin_scripts__: - __data_files__.append(('usr/libexec/pixelpark', __admin_scripts__)) + __data_files__.append(('/usr/libexec/pixelpark', __admin_scripts__)) # print("Found data files:\n" + pp(__data_files__) + "\n")