make the symlink to Python be created on install for IDLE.app
This commit is contained in:
parent
bebfbe2d11
commit
bbea7972a4
|
@ -1 +0,0 @@
|
||||||
/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python
|
|
|
@ -162,6 +162,7 @@ install_IDLE:
|
||||||
test -d "$(DESTDIR)$(PYTHONAPPSDIR)" || mkdir -p "$(DESTDIR)$(PYTHONAPPSDIR)"
|
test -d "$(DESTDIR)$(PYTHONAPPSDIR)" || mkdir -p "$(DESTDIR)$(PYTHONAPPSDIR)"
|
||||||
-test -d "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" && rm -r "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
|
-test -d "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app" && rm -r "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
|
||||||
cp -PR IDLE/IDLE.app "$(DESTDIR)$(PYTHONAPPSDIR)"
|
cp -PR IDLE/IDLE.app "$(DESTDIR)$(PYTHONAPPSDIR)"
|
||||||
|
ln -sf $(INSTALLED_PYTHONAPP) "$(DESDIR)$(PYTHONAPPSDIR)/IDLE.app/Contents/MacOS/Python"
|
||||||
touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
|
touch "$(DESTDIR)$(PYTHONAPPSDIR)/IDLE.app"
|
||||||
|
|
||||||
$(INSTALLED_PYTHONAPP): install_Python
|
$(INSTALLED_PYTHONAPP): install_Python
|
||||||
|
|
Loading…
Reference in New Issue