aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-07-20 18:56:21 -0500
committerJack Nagel2013-07-20 18:56:21 -0500
commit58ae6d20bc6eefcba2454d4a2b46474dc921dd17 (patch)
treee43db5936cb4a4e64f3ed9f5717d4c8755852c67 /Library/Formula
parent6e749ba7099d5635c26e2e61818db5a77a6eb539 (diff)
downloadhomebrew-58ae6d20bc6eefcba2454d4a2b46474dc921dd17.tar.bz2
wine: style
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wine.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 726af59d5..69990e7d7 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -102,13 +102,11 @@ class Wine < Formula
system "make install"
# Don't need Gnome desktop support
- rm_rf share+'applications'
+ (share/'applications').rmtree
# Download Gecko and Mono once so we don't need to redownload for each prefix
- gecko = WineGecko.new
- gecko.brew { (share+'wine/gecko').install Dir["*"] }
- mono = WineMono.new
- mono.brew { (share+'wine/mono').install Dir["*"] }
+ WineGecko.new('winegecko').brew { (share+'wine/gecko').install Dir["*"] }
+ WineMono.new('winemono').brew { (share+'wine/mono').install Dir["*"] }
# Use a wrapper script, so rename wine to wine.bin
# and name our startup script wine