diff --git a/lib/cask.rb b/lib/cask.rb index 740478420..74a8d97ea 100644 --- a/lib/cask.rb +++ b/lib/cask.rb @@ -199,7 +199,7 @@ class Cask def _zip?(path) output = `file -Izb #{path}` - output.chomp == 'application/x-empty compressed-encoding=application/zip; charset=binary; charset=binary' + output.chomp.include? 'compressed-encoding=application/zip; charset=binary; charset=binary' end def _tar_bzip?(path)