Skip to content
Snippets Groups Projects
Commit 1d0515c1 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

resource: only unpack to target if it exists.

parent 5863a726
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class Resource
downloader.stage
if block_given?
yield self
else
elsif target
target.install Dir['*']
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment