Make shebang explicit /usr/bin/python2 where it's still there

Both Archlinux and Fedora 29 have guidelines to point explicitly at
/usr/bin/python2 where it expect python2.

Also, do not use env.

Fixes QubesOS/qubes-issues#4027
This commit is contained in:
Marek Marczykowski-Górecki 2018-10-24 00:24:50 +02:00
parent adfe87ed06
commit 3b0f80e19f
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
7 changed files with 6 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python2
from qubesagent.xdg import launch from qubesagent.xdg import launch
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/python2
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# The Qubes OS Project, http://www.qubes-os.org # The Qubes OS Project, http://www.qubes-os.org

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/python2
# vim: fileencoding=utf-8 # vim: fileencoding=utf-8
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python2
# #
# The Qubes OS Project, http://www.qubes-os.org # The Qubes OS Project, http://www.qubes-os.org
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python2
# Send the command to the remote side, and then transfer stdin from local to # Send the command to the remote side, and then transfer stdin from local to
# remote and stdout from remote to local. # remote and stdout from remote to local.
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python2
import xdg.IconTheme import xdg.IconTheme
import sys import sys
import os import os

View File

@ -1,5 +1,3 @@
#!/usr/bin/python
from gi.repository import Gio # pylint: disable=import-error from gi.repository import Gio # pylint: disable=import-error
from gi.repository import GLib # pylint: disable=import-error from gi.repository import GLib # pylint: disable=import-error
import sys import sys