hacky shebang
paulfantom committed
Jul 11, 2016 at 21:29 UTC
9baef769b23daa33e8adbd90759b762cefdb5b52
1 file changed
+2
-1
plugins.d/python.d.plugin
+2
-1
@@ -1,4 +1,5 @@
1
-#!/usr/bin/env python
1
+#!/usr/bin/env bash
2
+'''':; exec "$(command -v python2 || command -v python3 || echo "ERROR python IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" # '''
3
# -*- coding: utf-8 -*-
4
5
# Description: netdata python modules supervisor