Merge pull request #1679 from MikeMcQuaid/no-prune-top-level-dirs
prune: don't remove top-level directories.
This commit is contained in:
commit
b87d27f939
@ -35,7 +35,7 @@ module Homebrew
|
||||
path.unlink
|
||||
end
|
||||
end
|
||||
elsif path.directory?
|
||||
elsif path.directory? && !Keg::PRUNEABLE_DIRECTORIES.include?(path)
|
||||
dirs << path
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user