]> arthur.barton.de Git - netdata.git/commitdiff
prefer the users default python, then python3, then python2; fixes #700
authorCosta Tsaousis <costa@tsaousis.gr>
Sat, 16 Jul 2016 01:48:46 +0000 (04:48 +0300)
committerCosta Tsaousis <costa@tsaousis.gr>
Sat, 16 Jul 2016 01:48:46 +0000 (04:48 +0300)
plugins.d/python.d.plugin

index 746802cbe24a6dc7f2777128ad712bf2349bf07b..efccd3c10dc9435b698e39c08284de8a540c9ce3 100755 (executable)
@@ -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