aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Lautrbach <plautrba@redhat.com>2019-02-15 17:00:23 +0100
committerNicolas Iooss <nicolas.iooss@m4x.org>2019-02-17 22:35:14 +0100
commitf9dbd6e83c8f6e492fa92f02bb8a85752055862c (patch)
tree83f4996483bc935445fd3b406c48e63f102be56a
parent72dc5c62412e690093c03cf9a1877335b643a23a (diff)
downloadandroid_external_selinux-f9dbd6e83c8f6e492fa92f02bb8a85752055862c.tar.gz
android_external_selinux-f9dbd6e83c8f6e492fa92f02bb8a85752055862c.tar.bz2
android_external_selinux-f9dbd6e83c8f6e492fa92f02bb8a85752055862c.zip
python/semanage: Drop python shebang from seobject.py
seobject.py is not supposed to be used as entrypoint therefore the shebang is unnecessary. It also doesn't need execute bits. Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
-rw-r--r--python/semanage/Makefile2
-rw-r--r--python/semanage/seobject.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/python/semanage/Makefile b/python/semanage/Makefile
index 2e262ef8..37065268 100644
--- a/python/semanage/Makefile
+++ b/python/semanage/Makefile
@@ -27,7 +27,7 @@ install: all
fi ; \
done
test -d $(DESTDIR)/$(PACKAGEDIR) || install -m 755 -d $(DESTDIR)/$(PACKAGEDIR)
- install -m 755 seobject.py $(DESTDIR)/$(PACKAGEDIR)
+ install -m 644 seobject.py $(DESTDIR)/$(PACKAGEDIR)
-mkdir -p $(DESTDIR)$(BASHCOMPLETIONDIR)
install -m 644 $(BASHCOMPLETIONS) $(DESTDIR)$(BASHCOMPLETIONDIR)/semanage
diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py
index b31a90c1..13fdf531 100644
--- a/python/semanage/seobject.py
+++ b/python/semanage/seobject.py
@@ -1,4 +1,3 @@
-#! /usr/bin/python -Es
# Copyright (C) 2005-2013 Red Hat
# see file 'COPYING' for use and warranty information
#