diff options
| author | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2019-04-26 17:36:23 +0200 |
|---|---|---|
| committer | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2019-04-27 09:46:40 +0200 |
| commit | cbfc396ca6ab24d7607741fd63e27bd705ca1ede (patch) | |
| tree | 3a9f6205169528b50a15a5e08b8a0a92e7c3bf65 /admin/netdata/patches/002-force-python3.patch | |
| parent | 87f6e7c46b044c96810c8d06a81d3e953e5e344c (diff) | |
netdata: update to version 1.14.0
- Add @BKPepe and @diizzyy as maintainers
- Add PKG_CPE_ID
- Modify 2nd patch
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Diffstat (limited to 'admin/netdata/patches/002-force-python3.patch')
| -rw-r--r-- | admin/netdata/patches/002-force-python3.patch | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/admin/netdata/patches/002-force-python3.patch b/admin/netdata/patches/002-force-python3.patch index 756b4d7ec..84d19259d 100644 --- a/admin/netdata/patches/002-force-python3.patch +++ b/admin/netdata/patches/002-force-python3.patch @@ -1,10 +1,14 @@ --- a/collectors/python.d.plugin/python.d.plugin.in +++ b/collectors/python.d.plugin/python.d.plugin.in -@@ -1,6 +1,4 @@ +@@ -1,10 +1,4 @@ -#!/usr/bin/env bash --'''':; exec "$(command -v python || command -v python3 || command -v python2 || +-'''':; +-if [[ "$OSTYPE" == "darwin"* ]]; then +- export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES +-fi +-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: |
