From: Costa Tsaousis Date: Sat, 16 Jul 2016 01:48:46 +0000 (+0300) Subject: prefer the users default python, then python3, then python2; fixes #700 X-Git-Tag: v1.3.0~61^2 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d76516fd3f0acbd1cef7de3a422bcf2dab40767;p=netdata.git prefer the users default python, then python3, then python2; fixes #700 --- diff --git a/plugins.d/python.d.plugin b/plugins.d/python.d.plugin index 746802cb..efccd3c1 100755 --- a/plugins.d/python.d.plugin +++ b/plugins.d/python.d.plugin @@ -1,5 +1,5 @@ #!/usr/bin/env bash -'''':; exec "$(command -v python2 || command -v python3 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' +'''':; exec "$(command -v python || command -v python3 || command -v python2 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # ''' # -*- coding: utf-8 -*- # Description: netdata python modules supervisor