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