david-guenault / shinken-packs

2 stars 3 forks source link

Change hashbangs to python2 #1

Closed arthru closed 9 years ago

arthru commented 9 years ago

Using shinken on distributions where Python3 is the default was impossible due to Python2 only compatibility and incorrect hashbangs (#!/usr/bin/env python).

By explicitly telling python2 in hashbangs, Shinken still works on systems where there is only python2, and also compatible on systems where there is both Python2 and Python3.

This pull request change the hashbang from #!/usr/bin/env python to #!/usr/bin/env python2

david-guenault commented 9 years ago

Since shinken is not compatible with python 3 this make sense. Gona give some tests before merging.