blob: 04222e795bd9f6eea2e1ea115c6fc6498a562d32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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:
|