mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
don't clean libexec
This commit is contained in:
parent
fb1250a012
commit
95d16ef1ba
@ -43,7 +43,7 @@ class Cleaner
|
||||
dirs = []
|
||||
symlinks = []
|
||||
@f.prefix.find do |path|
|
||||
if @f.skip_clean? path
|
||||
if path == @f.libexec or @f.skip_clean?(path)
|
||||
Find.prune
|
||||
elsif path.symlink?
|
||||
symlinks << path
|
||||
|
Loading…
x
Reference in New Issue
Block a user