aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorLorenz Meier2014-10-26 14:10:17 +0100
committerMike McQuaid2014-10-26 14:14:37 +0000
commitf4db8269bafcf09d2f2bc64c3c5c759e2a3f33a9 (patch)
tree21ad98af5160c0a94acec47ec3cbc8b62588e396 /Library/Formula
parent9089836d7539aa5530cbfc6cc3d9e3772ecc78b3 (diff)
downloadhomebrew-f4db8269bafcf09d2f2bc64c3c5c759e2a3f33a9.tar.bz2
sip: create shared sip dir as post-install action.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sip.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/sip.rb b/Library/Formula/sip.rb
index f2361d65e..b707c9ebd 100644
--- a/Library/Formula/sip.rb
+++ b/Library/Formula/sip.rb
@@ -43,6 +43,10 @@ class Sip < Formula
end
end
+ def post_install
+ mkdir_p "#{HOMEBREW_PREFIX}/share/sip"
+ end
+
def caveats
"The sip-dir for Python is #{HOMEBREW_PREFIX}/share/sip."
end