aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-15 12:09:16 -0500
committerJack Nagel2014-04-15 12:09:16 -0500
commit6e17e75807c8a0efdbebc63bf8500b2789f87078 (patch)
tree9071e58ab2299068dc0d95aa5326569763b1278f /Library/Formula/python3.rb
parente97bbeb9a76578c46fa190884c1601b2713cddb0 (diff)
downloadhomebrew-6e17e75807c8a0efdbebc63bf8500b2789f87078.tar.bz2
Fix e97bbeb9a76578c46fa190884c1601b2713cddb0 for source installs
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 25b1eeb08..7424e77eb 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -137,7 +137,7 @@ class Python3 < Formula
site_packages.mkpath
# Symlink the prefix site-packages into the cellar.
- site_packages_cellar.unlink
+ site_packages_cellar.unlink if site_packages_cellar.exist?
site_packages_cellar.parent.install_symlink site_packages
# Write our sitecustomize.py