Add version number to the link to the python documentation in
/Developer/Documentation/Python, better for users that install multiple versions of python.
This commit is contained in:
parent
b788346573
commit
5b5d110be6
|
@ -1,6 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
# FIXME
|
||||
PYVER="@PYVER@"
|
||||
|
||||
if [ -d /Developer/Documentation ]; then
|
||||
|
@ -8,5 +7,5 @@ if [ -d /Developer/Documentation ]; then
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue