view Mac/BuildScript/scripts/postflight.documentation @ 60708:18a195633b59 3.1

Fix for issue #5652
author Ronald Oussoren <ronaldoussoren@mac.com>
date Sun, 18 Apr 2010 20:54:33 +0000
parents cc992d75d5b3
children e9fb6d50459a
line wrap: on
line source

#!/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