cpython/Mac/BuildScript/scripts/postflight.documentation

13 lines
339 B
Bash
Executable File

#!/bin/sh
# FIXME
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"
fi