aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dnf/dnf/0005-Run-python-scripts-using-env.patch
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-09-25 21:59:50 -0700
committerTim Orling <timothy.t.orling@linux.intel.com>2018-09-25 22:10:44 -0700
commit94d4bba43097ec22f120f4327e5d13a52c1724fd (patch)
tree08039feef82958c6fc5802b667dcba2a712aa2a9 /meta/recipes-devtools/dnf/dnf/0005-Run-python-scripts-using-env.patch
parent5fc7fbc10bbd3a54df16db275ecd6080bc58f19e (diff)
downloadopenembedded-core-contrib-timo/python37.tar.gz
dnf: upgrade 2.7.5 -> 3.4.0timo/python37
Refresh and rename patches. License-Update: docs: Replace Yum with YUM. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/dnf/dnf/0005-Run-python-scripts-using-env.patch')
-rw-r--r--meta/recipes-devtools/dnf/dnf/0005-Run-python-scripts-using-env.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dnf/dnf/0005-Run-python-scripts-using-env.patch b/meta/recipes-devtools/dnf/dnf/0005-Run-python-scripts-using-env.patch
new file mode 100644
index 0000000000..870fcbed9e
--- /dev/null
+++ b/meta/recipes-devtools/dnf/dnf/0005-Run-python-scripts-using-env.patch
@@ -0,0 +1,20 @@
+Index: dnf/bin/dnf-automatic.in
+===================================================================
+--- dnf.orig/bin/dnf-automatic.in
++++ dnf/bin/dnf-automatic.in
+@@ -1,4 +1,4 @@
+-#!@PYTHON_EXECUTABLE@
++#!/usr/bin/env python3
+ # dnf-automatic executable.
+ #
+ # Copyright (C) 2014-2016 Red Hat, Inc.
+Index: dnf/bin/dnf.in
+===================================================================
+--- dnf.orig/bin/dnf.in
++++ dnf/bin/dnf.in
+@@ -1,4 +1,4 @@
+-#!@PYTHON_EXECUTABLE@
++#!/usr/bin/env python3
+ # The dnf executable script.
+ #
+ # Copyright (C) 2012-2016 Red Hat, Inc.