aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/install.rb')
-rwxr-xr-xLibrary/Homebrew/install.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb
index 07584d3dd..d436fb853 100755
--- a/Library/Homebrew/install.rb
+++ b/Library/Homebrew/install.rb
@@ -89,7 +89,7 @@ def install f
else
f.prefix.mkpath
beginning=Time.now
- f.install
+ f.install if not f.pouring
FORMULA_META_FILES.each do |filename|
next if File.directory? filename
target_file = filename
@@ -99,7 +99,7 @@ def install f
f.prefix.install target_file => filename rescue nil
(f.prefix+file).chmod 0644 rescue nil
end
- build_time = Time.now-beginning
+ build_time = Time.now-beginning if not f.pouring
end
end
rescue Exception
@@ -131,7 +131,7 @@ def install f
begin
require 'cleaner'
- Cleaner.new f
+ Cleaner.new f if not f.pouring
rescue Exception => e
opoo "The cleaning step did not complete successfully"
puts "Still, the installation was successful, so we will link it into your prefix"