diff options
| author | Jack Nagel | 2013-07-20 18:56:21 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-20 18:56:21 -0500 |
| commit | 58ae6d20bc6eefcba2454d4a2b46474dc921dd17 (patch) | |
| tree | e43db5936cb4a4e64f3ed9f5717d4c8755852c67 /Library/Formula | |
| parent | 6e749ba7099d5635c26e2e61818db5a77a6eb539 (diff) | |
| download | homebrew-58ae6d20bc6eefcba2454d4a2b46474dc921dd17.tar.bz2 | |
wine: style
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/wine.rb | 8 |
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 |
