installer.rb: clarify "not able to unpack" message

This commit is contained in:
Vítor Galvão
2016-01-14 12:54:46 +00:00
parent a20bdf7580
commit 32806fe45b
+1 -1
View File
@@ -109,7 +109,7 @@ class Hbc::Installer
Hbc::Container.for_path(@downloaded_path, @command)
end
unless container
raise Hbc::CaskError.new "Uh oh, could not identify primary container for '#{@downloaded_path}'"
raise Hbc::CaskError.new "Uh oh, could not figure out how to unpack '#{@downloaded_path}'"
end
odebug "Using container class #{container} for #{@downloaded_path}"
container.new(@cask, @downloaded_path, @command).extract