aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLibrary/Contributions/examples/brew-pull.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-pull.rb b/Library/Contributions/examples/brew-pull.rb
index cb5603050..bad9c4ce7 100755
--- a/Library/Contributions/examples/brew-pull.rb
+++ b/Library/Contributions/examples/brew-pull.rb
@@ -38,7 +38,7 @@ HOMEBREW_REPOSITORY.cd do
if install
status, filename = `git diff HEAD~1 --name-status`.split()
# Don't try and do anything to removed files.
- if status == 'A' or status == 'M'
+ if (status == 'A' or status == 'M') and filename.include? '/Formula/'
formula = File.basename(filename, '.rb')
ohai "Installing #{formula}"
# Not sure if this is the best way to install?