1
0
forked from pool/virtualbox
virtualbox/fixes_for_python.patch

19 lines
651 B
Diff
Raw Normal View History

To eliminate an rpmlint error, the shebang for this script should be
changed to use python directly, rather than through env.
When openSUSE switches to Python3, the shebang below should be changed
to "#!/usr/bin/python3".
Larry Finger
Index: VirtualBox-6.1.13/src/VBox/Frontends/VBoxShell/vboxshell.py
===================================================================
--- VirtualBox-6.1.13.orig/src/VBox/Frontends/VBoxShell/vboxshell.py
+++ VirtualBox-6.1.13/src/VBox/Frontends/VBoxShell/vboxshell.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
# $Id: vboxshell.py 82968 2020-02-04 10:35:17Z vboxsync $