diff options
author | Christian Heimes <cheimes@redhat.com> | 2018-07-05 12:30:54 +0200 |
---|---|---|
committer | Christian Heimes <cheimes@redhat.com> | 2018-07-05 19:46:42 +0200 |
commit | 9c86d35a3f0af4a793fada7dfe726e9cc66782ea (patch) | |
tree | 97d2c581d33b5e8c0870ee59f6249475cf91d20b | |
parent | 198a2c61129675b928bb7a970d5fc4c63a032456 (diff) | |
download | freeipa-9c86d35a3f0af4a793fada7dfe726e9cc66782ea.tar.gz freeipa-9c86d35a3f0af4a793fada7dfe726e9cc66782ea.tar.xz freeipa-9c86d35a3f0af4a793fada7dfe726e9cc66782ea.zip |
Cleanup shebang and executable bit
- Add missing executable bits to all scripts
- Remove executable bits from all files that are not scripts,
e.g. js, html, and Python libraries.
- Remove Python shebang from all Python library files.
It's frown upon to have executable library files in site-packages.
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Armando Neto <abiagion@redhat.com>
38 files changed, 0 insertions, 19 deletions
diff --git a/daemons/ipa-otpd/test.py b/daemons/ipa-otpd/test.py index 5c288e57c..81c0e077d 100644 --- a/daemons/ipa-otpd/test.py +++ b/daemons/ipa-otpd/test.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # # FreeIPA 2FA companion daemon # diff --git a/daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif b/daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif index 4b3c4ce99..4b3c4ce99 100755..100644 --- a/daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif +++ b/daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif diff --git a/freeipa.spec.in b/freeipa.spec.in index e0c9ee242..e0c9ee242 100755..100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in diff --git a/install/restart_scripts/renew_ca_cert b/install/restart_scripts/renew_ca_cert index 83e79a247..83e79a247 100644..100755 --- a/install/restart_scripts/renew_ca_cert +++ b/install/restart_scripts/renew_ca_cert diff --git a/install/restart_scripts/renew_ra_cert b/install/restart_scripts/renew_ra_cert index 2ea3be342..2ea3be342 100644..100755 --- a/install/restart_scripts/renew_ra_cert +++ b/install/restart_scripts/renew_ra_cert diff --git a/install/restart_scripts/restart_dirsrv b/install/restart_scripts/restart_dirsrv index 01fca480e..01fca480e 100644..100755 --- a/install/restart_scripts/restart_dirsrv +++ b/install/restart_scripts/restart_dirsrv diff --git a/install/restart_scripts/restart_httpd b/install/restart_scripts/restart_httpd index 9b342bf1e..9b342bf1e 100644..100755 --- a/install/restart_scripts/restart_httpd +++ b/install/restart_scripts/restart_httpd diff --git a/install/restart_scripts/stop_pkicad b/install/restart_scripts/stop_pkicad index f245a276f..f245a276f 100644..100755 --- a/install/restart_scripts/stop_pkicad +++ b/install/restart_scripts/stop_pkicad diff --git a/install/tools/ipa-cacert-manage b/install/tools/ipa-cacert-manage index 81f3e2f3b..81f3e2f3b 100644..100755 --- a/install/tools/ipa-cacert-manage +++ b/install/tools/ipa-cacert-manage diff --git a/install/tools/ipa-kra-install b/install/tools/ipa-kra-install index 29b7d607b..29b7d607b 100644..100755 --- a/install/tools/ipa-kra-install +++ b/install/tools/ipa-kra-install diff --git a/install/tools/ipa-server-upgrade b/install/tools/ipa-server-upgrade index a3a36cd39..a3a36cd39 100644..100755 --- a/install/tools/ipa-server-upgrade +++ b/install/tools/ipa-server-upgrade diff --git a/install/ui/less/patternfly/variables.less b/install/ui/less/patternfly/variables.less index 41ad3a4aa..41ad3a4aa 100755..100644 --- a/install/ui/less/patternfly/variables.less +++ b/install/ui/less/patternfly/variables.less diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js index 0cb43c718..0cb43c718 100755..100644 --- a/install/ui/src/freeipa/certificate.js +++ b/install/ui/src/freeipa/certificate.js diff --git a/install/ui/test/aci_tests.html b/install/ui/test/aci_tests.html index 7ee6ef6f5..7ee6ef6f5 100755..100644 --- a/install/ui/test/aci_tests.html +++ b/install/ui/test/aci_tests.html diff --git a/install/ui/test/certificate_tests.html b/install/ui/test/certificate_tests.html index b7f04aa95..b7f04aa95 100755..100644 --- a/install/ui/test/certificate_tests.html +++ b/install/ui/test/certificate_tests.html diff --git a/install/ui/test/certificate_tests.js b/install/ui/test/certificate_tests.js index 9eaa195b1..9eaa195b1 100755..100644 --- a/install/ui/test/certificate_tests.js +++ b/install/ui/test/certificate_tests.js diff --git a/install/ui/test/ordered_map_tests.html b/install/ui/test/ordered_map_tests.html index c3d0d122e..c3d0d122e 100755..100644 --- a/install/ui/test/ordered_map_tests.html +++ b/install/ui/test/ordered_map_tests.html diff --git a/install/ui/test/ordered_map_tests.js b/install/ui/test/ordered_map_tests.js index a23be36e7..a23be36e7 100755..100644 --- a/install/ui/test/ordered_map_tests.js +++ b/install/ui/test/ordered_map_tests.js diff --git a/install/ui/test/widget_tests.html b/install/ui/test/widget_tests.html index df95ce32e..df95ce32e 100755..100644 --- a/install/ui/test/widget_tests.html +++ b/install/ui/test/widget_tests.html diff --git a/ipaclient/csrgen_ffi.py b/ipaclient/csrgen_ffi.py index c5428cfd4..10a20bdae 100644 --- a/ipaclient/csrgen_ffi.py +++ b/ipaclient/csrgen_ffi.py @@ -1,5 +1,3 @@ -#!/usr/bin/python3 - from cffi import FFI import ctypes.util diff --git a/ipaclient/setup.py b/ipaclient/setup.py index aaab5c979..8eb9aeedc 100644 --- a/ipaclient/setup.py +++ b/ipaclient/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipalib/aci.py b/ipalib/aci.py index a207024f6..a207024f6 100755..100644 --- a/ipalib/aci.py +++ b/ipalib/aci.py diff --git a/ipalib/setup.py b/ipalib/setup.py index d21f36e33..32f55c2f0 100644 --- a/ipalib/setup.py +++ b/ipalib/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipaplatform/setup.py b/ipaplatform/setup.py index 32cee9f87..69101794e 100644 --- a/ipaplatform/setup.py +++ b/ipaplatform/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2014 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipapython/setup.py b/ipapython/setup.py index 1d0ac043f..b1f006ef1 100755..100644 --- a/ipapython/setup.py +++ b/ipapython/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipaserver/dnssec/localhsm.py b/ipaserver/dnssec/localhsm.py index 6a85ce3a3..d02fdbe14 100755..100644 --- a/ipaserver/dnssec/localhsm.py +++ b/ipaserver/dnssec/localhsm.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipaserver/dnssec/odsmgr.py b/ipaserver/dnssec/odsmgr.py index 4bd051e28..7cdd6e43b 100644 --- a/ipaserver/dnssec/odsmgr.py +++ b/ipaserver/dnssec/odsmgr.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipaserver/install/ipa_kra_install.py b/ipaserver/install/ipa_kra_install.py index cb097e9fe..b8be794de 100644 --- a/ipaserver/install/ipa_kra_install.py +++ b/ipaserver/install/ipa_kra_install.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 -E # Authors: Ade Lee <alee@redhat.com> # # Copyright (C) 2014 Red Hat diff --git a/ipaserver/setup.py b/ipaserver/setup.py index 0f7d4709f..5ee50efe9 100755..100644 --- a/ipaserver/setup.py +++ b/ipaserver/setup.py @@ -1,5 +1,3 @@ -#!/usr/bin/python3 - # Authors: # Jason Gerard DeRose <jderose@redhat.com> # diff --git a/ipatests/pytest_plugins/beakerlib.py b/ipatests/pytest_plugins/beakerlib.py index 53e2a80e0..0668b48a2 100644 --- a/ipatests/pytest_plugins/beakerlib.py +++ b/ipatests/pytest_plugins/beakerlib.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2014 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipatests/setup.py b/ipatests/setup.py index 274787d4d..7cad27923 100644 --- a/ipatests/setup.py +++ b/ipatests/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipatests/test_ipapython/test_ipavalidate.py b/ipatests/test_ipapython/test_ipavalidate.py index a4e5ddefe..fcf7c73f9 100644 --- a/ipatests/test_ipapython/test_ipavalidate.py +++ b/ipatests/test_ipapython/test_ipavalidate.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 -E # # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information @@ -89,6 +88,3 @@ class TestValidate(unittest.TestCase): self.assertEqual(False, ipavalidate.GoodName("foo%bar")) self.assertEqual(False, ipavalidate.GoodName("*foo")) self.assertEqual(False, ipavalidate.GoodName("$foo.bar$")) - -if __name__ == '__main__': - unittest.main() diff --git a/ipatests/test_ipaserver/test_install/test_adtrustinstance.py b/ipatests/test_ipaserver/test_install/test_adtrustinstance.py index 86596c5ad..86596c5ad 100755..100644 --- a/ipatests/test_ipaserver/test_install/test_adtrustinstance.py +++ b/ipatests/test_ipaserver/test_install/test_adtrustinstance.py diff --git a/pypi/freeipa/setup.py b/pypi/freeipa/setup.py index 230fffd90..230fffd90 100755..100644 --- a/pypi/freeipa/setup.py +++ b/pypi/freeipa/setup.py diff --git a/pypi/ipa/setup.py b/pypi/ipa/setup.py index 403389b25..403389b25 100755..100644 --- a/pypi/ipa/setup.py +++ b/pypi/ipa/setup.py diff --git a/pypi/ipaserver/setup.py b/pypi/ipaserver/setup.py index 73e1e6316..73e1e6316 100755..100644 --- a/pypi/ipaserver/setup.py +++ b/pypi/ipaserver/setup.py diff --git a/pypi/ipatests/setup.py b/pypi/ipatests/setup.py index 808e510ca..808e510ca 100755..100644 --- a/pypi/ipatests/setup.py +++ b/pypi/ipatests/setup.py diff --git a/pypi/test_placeholder.py b/pypi/test_placeholder.py index 2196f683c..73f4faa61 100644 --- a/pypi/test_placeholder.py +++ b/pypi/test_placeholder.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (C) 2017 FreeIPA Contributors see COPYING for license import importlib |