summaryrefslogtreecommitdiffstats
path: root/debian/patches/0003-debian-use-python3.patch
blob: 7359393f2b8dc1c9f66554ea4e2c2b62dc665082 (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.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: