diff options
| author | Charlie Sharpsteen | 2011-11-16 10:42:02 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-11-16 10:42:02 -0800 |
| commit | 66fb221446addd63c95ad6852fe8023db9e6bc02 (patch) | |
| tree | ab348aa9a31ae3955837ee1fbdc3375c10b7226a /Library | |
| parent | 39d0bb53696942afc59abc08386cc58a09cf4733 (diff) | |
| download | homebrew-66fb221446addd63c95ad6852fe8023db9e6bc02.tar.bz2 | |
Don't write receipt for empty installs
Fixes #8616.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 97292d984..1a4250486 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -131,7 +131,7 @@ class FormulaInstaller raise "Suspicious installation failure" unless $?.success? # Write an installation receipt (a Tab) to the prefix - Tab.for_install(f, args).write + Tab.for_install(f, args).write if f.prefix.exist? end end |
