diff options
Diffstat (limited to 'debian/patches/0004-debian-use-python3.patch')
-rw-r--r-- | debian/patches/0004-debian-use-python3.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/0004-debian-use-python3.patch b/debian/patches/0004-debian-use-python3.patch new file mode 100644 index 000000000..cc800d257 --- /dev/null +++ b/debian/patches/0004-debian-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 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: |