ports/net-mgmt/netdata/files/patch-src_collectors_python.d.plugin_python.d.plugin.in
Namkhai Bourquin 07cc225b41 net-mgmt/netdata: Update to 2.2.3
Changelog: https://github.com/netdata/netdata/releases/tag/v2.2.3

Thanks to Namkhai and contributors for the time consuming effort to
make it suitable for packaging and testing

PR:		275792
2025-02-02 21:27:22 +01:00

10 lines
347 B
Text

--- src/collectors/python.d.plugin/python.d.plugin.in.orig 2025-01-02 17:07:23 UTC
+++ src/collectors/python.d.plugin/python.d.plugin.in
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
'''':;
-pybinary=$(which python3 || which python || which python2)
+pybinary=$(which %%PYTHON_VERSION%% || which python || which python2)
filtered=()
for arg in "$@"
do