view Mac/BuildScript/scripts/postflight.documentation @ 39042:c02fa187e0f4 legacy-trunk

Part of SF patch #1484695. This removes dead code. The chksum was already verified in .frombuf() on the lines above. If there was a problem an exception is raised, so there was no way this condition could have been true.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 10 Jul 2006 00:23:17 +0000
parents a3668e94fc6d
children b9d3301e5f19
line wrap: on
line source

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