aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-07-23 04:12:25 +0100
committerMax Howell2009-07-23 04:12:25 +0100
commit5eb9d6519d9411a4715d06efcb7b0c7480e3f01d (patch)
tree81f75e6fff887e8c5f9d42921f57317d956be5f1 /Library
parent8433ff0faa84cf7b2af718ace84fa96381280212 (diff)
downloadbrew-5eb9d6519d9411a4715d06efcb7b0c7480e3f01d.tar.bz2
Fix ack formula
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brewkit.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/Library/Homebrew/brewkit.rb b/Library/Homebrew/brewkit.rb
index 6b611678b..a32f015d5 100644
--- a/Library/Homebrew/brewkit.rb
+++ b/Library/Homebrew/brewkit.rb
@@ -244,7 +244,6 @@ public
end
ensure
FileUtils.rm_rf tmp if tmp
- FileUtils.rm tgz if tgz and not self.cache?
end
end
end
@@ -292,9 +291,6 @@ public
end
protected
- def cache?
- true
- end
def uncompress path
path.dirname
end
@@ -368,12 +364,8 @@ end
# see ack.rb for an example usage
class ScriptFileFormula <AbstractFormula
- def cache?
- false
- end
def install
- FileUtils.cp name, bin
- (bin+name).chmod 0544
+ bin.install name
end
end