summaryrefslogtreecommitdiffstats
path: root/debian/patches/0004-debian-use-python3.patch
blob: cc800d257bc9acae949ea6fd6e30f4ce74c93ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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: