Advertisement
murpholinox

little script

Feb 13th, 2017
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #!/bin/bash
  2. if [ -z "$PYTHON_EXE" ]; then
  3. PYTHON_EXE='/usr/bin/python'
  4. if [ -f "/usr/bin/python2.7" ]; then
  5. PYTHON_EXE='/usr/bin/python2.7'
  6. elif [ -f "/usr/bin/python2.6" ]; then
  7. PYTHON_EXE='/usr/bin/python2.6'
  8. elif [ -f "/usr/bin/python2.5" ]; then
  9. PYTHON_EXE='/usr/bin/python2.5'
  10. elif [ -f "/usr/bin/python2" ]; then
  11. PYTHON_EXE='/usr/bin/python2'
  12. fi
  13. fi
  14. $PYTHON_EXE ./bin/install.py $@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement