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>
This commit is contained in:
Christian Heimes
2018-07-05 12:30:54 +02:00
parent 198a2c6112
commit 9c86d35a3f
38 changed files with 0 additions and 19 deletions

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# FreeIPA 2FA companion daemon
#

View File

0
freeipa.spec.in Executable file → Normal file
View File

0
install/restart_scripts/renew_ca_cert Normal file → Executable file
View File

0
install/restart_scripts/renew_ra_cert Normal file → Executable file
View File

0
install/restart_scripts/restart_dirsrv Normal file → Executable file
View File

0
install/restart_scripts/restart_httpd Normal file → Executable file
View File

0
install/restart_scripts/stop_pkicad Normal file → Executable file
View File

0
install/tools/ipa-cacert-manage Normal file → Executable file
View File

0
install/tools/ipa-kra-install Normal file → Executable file
View File

0
install/tools/ipa-server-upgrade Normal file → Executable file
View File

0
install/ui/less/patternfly/variables.less Executable file → Normal file
View File

0
install/ui/src/freeipa/certificate.js Executable file → Normal file
View File

0
install/ui/test/aci_tests.html Executable file → Normal file
View File

0
install/ui/test/certificate_tests.html Executable file → Normal file
View File

0
install/ui/test/certificate_tests.js Executable file → Normal file
View File

0
install/ui/test/ordered_map_tests.html Executable file → Normal file
View File

0
install/ui/test/ordered_map_tests.js Executable file → Normal file
View File

0
install/ui/test/widget_tests.html Executable file → Normal file
View File

View File

@@ -1,5 +1,3 @@
#!/usr/bin/python3
from cffi import FFI
import ctypes.util

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#

0
ipalib/aci.py Executable file → Normal file
View File

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#

1
ipapython/setup.py Executable file → Normal file
View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#

1
ipaserver/dnssec/localhsm.py Executable file → Normal file
View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
#

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
#

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3 -E
# Authors: Ade Lee <alee@redhat.com>
#
# Copyright (C) 2014 Red Hat

2
ipaserver/setup.py Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#!/usr/bin/python3
# Authors:
# Jason Gerard DeRose <jderose@redhat.com>
#

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#

View File

@@ -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()

View File

0
pypi/freeipa/setup.py Executable file → Normal file
View File

0
pypi/ipa/setup.py Executable file → Normal file
View File

0
pypi/ipaserver/setup.py Executable file → Normal file
View File

0
pypi/ipatests/setup.py Executable file → Normal file
View File

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
import importlib