cpython/Mac/BuildScript/scripts/postflight.documentation

12 lines
339 B
Bash
Executable File

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