]> arthur.barton.de Git - netdata.git/commitdiff
hacky shebang
authorpaulfantom <paulfantom@gmail.com>
Mon, 11 Jul 2016 19:29:10 +0000 (21:29 +0200)
committerpaulfantom <paulfantom@gmail.com>
Mon, 11 Jul 2016 19:29:10 +0000 (21:29 +0200)
plugins.d/python.d.plugin

index 02f3024f88c426b5c7b02a04d91840670a5a00fe..3e13be027b9eb605f629e7a1f2c0056069eecd2a 100755 (executable)
@@ -1,4 +1,5 @@
-#!/usr/bin/env python
+#!/usr/bin/env bash
+'''':; exec "$(command -v python2 || command -v python3 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
 # -*- coding: utf-8 -*-
 
 # Description: netdata python modules supervisor