mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
resource: only unpack to target if it exists.
This commit is contained in:
parent
5863a72625
commit
1d0515c1d3
@ -61,7 +61,7 @@ class Resource
|
||||
downloader.stage
|
||||
if block_given?
|
||||
yield self
|
||||
else
|
||||
elsif target
|
||||
target.install Dir['*']
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user