summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0003-use-python3.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-10 12:30:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-10 14:04:07 +0000
commita4fa4dd5785fcafb1b87762c6874928b5b744df7 (patch)
treea4f1fdb066e576b40da4a1a862be9427bd32acfc /debian/patches/debian/0003-use-python3.patch
parentShamelessly adding myself in copyright. (diff)
downloadnetdata-a4fa4dd5785fcafb1b87762c6874928b5b744df7.tar.xz
netdata-a4fa4dd5785fcafb1b87762c6874928b5b744df7.zip
Sorting patches into comonly used subdirectories.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian/0003-use-python3.patch')
-rw-r--r--debian/patches/debian/0003-use-python3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/debian/0003-use-python3.patch b/debian/patches/debian/0003-use-python3.patch
new file mode 100644
index 000000000..7359393f2
--- /dev/null
+++ b/debian/patches/debian/0003-use-python3.patch
@@ -0,0 +1,14 @@
+Author: Sander Klein <debian-bugs@roedie.nl>
+Description: Debian uses by default python 2 instead of python3.
+
+diff -Naurp netdata.orig/collectors/python.d.plugin/python.d.plugin.in netdata/collectors/python.d.plugin/python.d.plugin.in
+--- netdata.orig/collectors/python.d.plugin/python.d.plugin.in
++++ netdata/collectors/python.d.plugin/python.d.plugin.in
+@@ -1,6 +1,4 @@
+-#!/usr/bin/env bash
+-'''':; exec "$(command -v python || command -v python3 || command -v python2 ||
+-echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
++#!/usr/bin/python3
+
+ # -*- coding: utf-8 -*-
+ # Description: