diff Mac/BuildScript/scripts/postflight.documentation @ 40049:b9d3301e5f19 legacy-trunk

Add version number to the link to the python documentation in /Developer/Documentation/Python, better for users that install multiple versions of python.
author Ronald Oussoren <ronaldoussoren@mac.com>
date Sun, 08 Oct 2006 17:37:58 +0000
parents a3668e94fc6d
children bb757facbfa6
line wrap: on
line diff
--- a/Mac/BuildScript/scripts/postflight.documentation	Sun Oct 08 13:48:34 2006 +0000
+++ b/Mac/BuildScript/scripts/postflight.documentation	Sun Oct 08 17:37:58 2006 +0000
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-# FIXME
 PYVER="@PYVER@"
 
 if [ -d /Developer/Documentation ]; then
@@ -8,5 +7,5 @@
 		mkdir -p /Developer/Documentation/Python
 	fi
 
-	ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation"
+	ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
 fi