diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-12-28 16:32:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-12-28 16:32:07 +0000 |
commit | 4ea884f73fb9b041ca41f10e87f5abed8295d5d1 (patch) | |
tree | 76eb9eca6fd885314d4b35da4a0efcb8fd473875 /debian/patches/0006-force-usage-of-python3.patch | |
parent | Refreshing Skip-debian-files-in-upstream-s-makefile.patch. (diff) | |
download | netdata-4ea884f73fb9b041ca41f10e87f5abed8295d5d1.tar.xz netdata-4ea884f73fb9b041ca41f10e87f5abed8295d5d1.zip |
Harmonizing patch filenames.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0006-force-usage-of-python3.patch')
-rw-r--r-- | debian/patches/0006-force-usage-of-python3.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/0006-force-usage-of-python3.patch b/debian/patches/0006-force-usage-of-python3.patch new file mode 100644 index 000000000..04222e795 --- /dev/null +++ b/debian/patches/0006-force-usage-of-python3.patch @@ -0,0 +1,17 @@ +Author: Sander Klein <debian-bugs@roedie.nl> +Description: Force usage of python3 + Debian uses Python2 by default. The netdata package installs the + Python3 dependencies. So, in order to work correctly it must use + Python3. + +diff -Naurp netdata.orig/collectors/python.d.plugin/python.d.plugin netdata/collectors/python.d.plugin/python.d.plugin +--- netdata.orig/collectors/python.d.plugin/python.d.plugin ++++ netdata/collectors/python.d.plugin/python.d.plugin +@@ -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: |