/Mac/BuildScript/scripts/postflight.documentation

http://unladen-swallow.googlecode.com/ · Shell · 11 lines · 7 code · 3 blank · 1 comment · 2 complexity · 37d97093410937793223391cbfd77907 MD5 · raw file

  1. #!/bin/sh
  2. PYVER="@PYVER@"
  3. if [ -d /Developer/Documentation ]; then
  4. if [ ! -d /Developer/Documentation/Python ]; then
  5. mkdir -p /Developer/Documentation/Python
  6. fi
  7. ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
  8. fi