FIXUPHACK 312 B

12345678910
  1. #120605 precise puppy: executable is 'python2.7', but 'python' missing...
  2. if [ ! -e usr/bin/python ];then
  3. PYTHONEXE="`find usr/bin -mindepth 1 -maxdepth 1 -type f -name 'python2.[3-9]' | head -n 1`"
  4. if [ "$PYTHONEXE" ];then
  5. BASEPYTHONEXE="`basename $PYTHONEXE`"
  6. ln -s $BASEPYTHONEXE usr/bin/python
  7. fi
  8. fi