aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/prune.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/prune.rb b/Library/Homebrew/cmd/prune.rb
index cc600fd7f..1f4577b0d 100644
--- a/Library/Homebrew/cmd/prune.rb
+++ b/Library/Homebrew/cmd/prune.rb
@@ -12,7 +12,7 @@ module Homebrew extend self
path.extend(ObserverPathnameExtension)
if path.symlink?
unless path.resolved_path_exists?
- if ENV['HOMEBREW_KEEP_INFO'] and path.to_s =~ Keg::INFOFILE_RX
+ if path.to_s =~ Keg::INFOFILE_RX
path.uninstall_info unless ARGV.dry_run?
end